|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.swing.Message com.dlsc.flexgantt.swing.TreePathMessage
public class TreePathMessage
A tree path message is used when the cause of the message is a node in the tree table on the left-hand side of the Gantt chart. The addition of the path information allows the user interface to take the user to the message source.
Message
,
TimelineObjectPathMessage
Constructor Summary | |
---|---|
TreePathMessage(MessageTypeId id,
java.lang.String text,
java.util.Date time,
javax.swing.tree.TreePath path)
Constructs a new message. |
|
TreePathMessage(MessageTypeId id,
java.lang.String text,
java.lang.Object details,
java.util.Date time,
javax.swing.tree.TreePath path)
Constructs a new message. |
|
TreePathMessage(MessageTypeId id,
java.lang.String text,
java.lang.Object details,
javax.swing.tree.TreePath path)
Constructs a new message. |
|
TreePathMessage(MessageTypeId id,
java.lang.String text,
javax.swing.tree.TreePath path)
Constructs a new message. |
|
TreePathMessage(java.lang.String text,
java.lang.Object details,
javax.swing.tree.TreePath path)
Constructs a new error message. |
|
TreePathMessage(java.lang.String text,
javax.swing.tree.TreePath path)
Constructs a new information message. |
Method Summary | |
---|---|
javax.swing.tree.TreePath |
getTreePath()
Returns the tree path associated with the message. |
Methods inherited from class com.dlsc.flexgantt.swing.Message |
---|
getMessageDetails, getMessageText, getMessageTime, getMessageTypeId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.dlsc.flexgantt.swing.IMessage |
---|
getMessageDetails, getMessageText, getMessageTime, getMessageTypeId |
Constructor Detail |
---|
public TreePathMessage(MessageTypeId id, java.lang.String text, java.lang.Object details, java.util.Date time, javax.swing.tree.TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagetime
- a message time stamppath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(MessageTypeId id, java.lang.String text, java.util.Date time, javax.swing.tree.TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the usertime
- a message time stamppath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(MessageTypeId id, java.lang.String text, java.lang.Object details, javax.swing.tree.TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagepath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(MessageTypeId id, java.lang.String text, javax.swing.tree.TreePath path)
id
- a message type identifier used to distinguish between plain
information messages or warning and error messagestext
- the message that will be shown to the userpath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(java.lang.String text, java.lang.Object details, javax.swing.tree.TreePath path)
text
- the message that will be shown to the userdetails
- an object storing additional information about the cause of
the messagepath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
public TreePathMessage(java.lang.String text, javax.swing.tree.TreePath path)
text
- the message that will be shown to the userpath
- a tree path pointing to the source of the messageMessage
,
TimelineObjectPathMessage
Method Detail |
---|
public javax.swing.tree.TreePath getTreePath()
ITreePathMessage
getTreePath
in interface ITreePathMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |