|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.app.FrameDecorator
The task of this class is to provide some capsule for functions, which needed to be implemented in the case of creating some new class of FUJABA diagrams, as they are a) creating / showing a toolbar (every kind of diagram got one of its own) b) adding items of a diagram to the tree node row at left side of FUJABA (diagram has to manage the order and kinds of items and build up some tree structure of them) Methods and attributes of this class should be helpful to manage those tasks in a more generic way, while abstract methods should provide a reminder for childs of what to implement.
0..1 Assoc 0..n FrameMain --------------------------- FrameDecorator frameMain decorators
Constructor Summary | |
FrameDecorator()
|
Method Summary | |
abstract void |
enterDiagram(ASGDiagram diag)
Checks wether decorator is responsible for the given diagram. |
java.lang.String |
getDestTabTitle()
Get the destTabTitle attribute of the FrameDecorator object |
FrameMain |
getFrameMain()
Get the frameMain attribute of the FrameDecorator object |
javax.swing.tree.TreeCellRenderer |
getTreeCellRenderer()
Get the treeCellRenderer attribute of the FrameDecorator class |
javax.swing.tree.DefaultMutableTreeNode |
getTreeNode(ASGDiagram diag)
Get the treeNode attribute of the FrameDecorator object |
abstract javax.swing.tree.DefaultMutableTreeNode |
getTreeNode(java.util.Enumeration diagEnum)
To be overridden by deriving classes and enables each type of diagram to set its own location in Fujabas diagrams tree. |
abstract void |
leaveDiagram(ASGDiagram diag)
Checks wether decorator is responsible for the given diagram. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
setFrameMain(FrameMain value)
Sets the frameMain attribute of the FrameDecorator object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FrameDecorator()
Method Detail |
public abstract void enterDiagram(ASGDiagram diag)
diag
- No description providedpublic abstract void leaveDiagram(ASGDiagram diag)
diag
- No description providedpublic abstract javax.swing.tree.DefaultMutableTreeNode getTreeNode(java.util.Enumeration diagEnum)
diagEnum
- No description provided
public javax.swing.tree.DefaultMutableTreeNode getTreeNode(ASGDiagram diag)
diag
- No description provided
public javax.swing.tree.TreeCellRenderer getTreeCellRenderer()
public java.lang.String getDestTabTitle()
public boolean setFrameMain(FrameMain value)
value
- The new frameMain value
public FrameMain getFrameMain()
public void removeYou()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |