|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.win.swing.LySwingObject
leon.view.win.swing.LySwingEntry
public class LySwingEntry
This class implements the dictionary Entry object (as described in the dtd) for swing viewer.
An entry represents a node or a leaf of a dictionary. An entry may contain several sub-entries.
LyDictionary
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySwingEntry(LyEntry entry)
Class constructor of an Entry object for the Swing target. |
Method Summary | |
---|---|
void |
computeTreeNodeValidity(LyComponent node)
Computes the subtree validity. |
java.awt.Component |
getComponent()
Returns null . |
javax.swing.tree.DefaultMutableTreeNode |
getMutableTreeNode()
Gets the internal mutable tree node of this entry. |
LyJTreeElement |
getTreeElement()
Gets the associated tree element. |
void |
initialize()
Initialises the component. |
void |
setChecked(boolean status)
Doesn't do anything. |
void |
setContent()
Fills this component with its associated entry values. |
void |
setImage(java.lang.String image)
Doesn't do anything. |
void |
setOpen(boolean open)
Doesn't do anything. |
void |
setValidity(LyTreeNode.Validity validity)
(non-Javadoc). |
Methods inherited from class leon.view.win.swing.LySwingObject |
---|
getBounds, getChildrenBounds, getDefaultFrame |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, free, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LySwingEntry(LyEntry entry)
entry
- an ENTRY component defined for every type of view targets. This component is
initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
public java.awt.Component getComponent()
null
.
getComponent
in interface LySwingComponent
getComponent
in class LySwingObject
LySwingComponent.getComponent()
public void setContent()
public void setChecked(boolean status)
setChecked
in interface LyGraphicalEntry
status
- Boolean indicating if attribute checked is set or unset.LyGraphicalEntry.setChecked(boolean)
public void setOpen(boolean open)
setOpen
in interface LyGraphicalEntry
open
- Boolean indicating if attribute open is set or unset.LyGraphicalEntry.setOpen(boolean)
public void setImage(java.lang.String image)
setImage
in interface LyGraphicalEntry
setImage
in interface LySetImageInterface
image
- New value of image.LySetImageInterface.setImage(java.lang.String)
public LyJTreeElement getTreeElement()
public javax.swing.tree.DefaultMutableTreeNode getMutableTreeNode()
public void setValidity(LyTreeNode.Validity validity)
setValidity
in interface LyGraphicalEntry
setValidity
in interface LySetValidityInterface
validity
- New value of validity.leon.view.setinterface.LySetValidityInterface#setValidity(java.lang.String)
public void computeTreeNodeValidity(LyComponent node)
node
- current node which may be a LyTreeNode or a LyEntry (dictionnary)LyJTreeElementEntryImpl.computeTreeNodeValidity(LyComponent)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |