|
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.LySwingFieldItem
leon.view.win.swing.LySwingDictionary
public class LySwingDictionary
This class implements the Dictionary object (as described in the dtd) for swing viewer.
An input field of dictionary type allows to display a graphical component containing a combo with a tree.
LyDictionary
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySwingDictionary(LyDictionary dico)
Class constructor of a Dictionary object for the Swing target. |
Method Summary | |
---|---|
void |
actionPerformed(LyActionEvent actionEvent)
(non-Javadoc). |
void |
free()
(non-Javadoc). |
java.awt.Component |
getComponent()
(non-Javadoc). |
java.lang.String |
getDisplayedValue()
Gets the current values for all the dictionary entries, separated with LyString.VISIBLE_SEP2 . |
java.lang.String |
getValue()
Gets the current ids for all the dictionary entries, separated with LyString.SEP . |
void |
initialize()
Initializes this component. |
void |
selectionPerformed(LySelectionEvent selectionEvent)
Checks or unchecks the selected element in this dictionary. |
void |
setContent()
Fills the tree with the dictionary entries. |
void |
setEditable(boolean status)
(non-Javadoc). |
void |
setEnabled(boolean status)
(non-Javadoc). |
void |
setEntry(LyEntry entry)
Sets the root entry of the tree. |
void |
update()
Updates the current component. |
Methods inherited from class leon.view.win.swing.LySwingFieldItem |
---|
getActionTransmitter, getSelectionTransmitter |
Methods inherited from class leon.view.win.swing.LySwingObject |
---|
getBounds, getChildrenBounds, getDefaultFrame |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, 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 |
---|
getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LySwingDictionary(LyDictionary dico)
dico
- a DICTIONARY component defined for every type of view targets. This component is
initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
public void free()
free
in interface LyGraphicalComponent
free
in interface LyFreeInterface
free
in class LyGraphicalObject
LyFreeInterface.free()
public void setContent()
public void update()
public void setEntry(LyEntry entry)
setEntry
in interface LyGraphicalDictionary
setEntry
in interface LySetEntryInterface
entry
- the new root entryLyGraphicalDictionary.setEntry(LyEntry)
public java.lang.String getValue()
LyString.SEP
.
getValue
in interface LyGetValueInterface
public java.lang.String getDisplayedValue()
LyString.VISIBLE_SEP2
.
public void selectionPerformed(LySelectionEvent selectionEvent)
selectionEvent
parameter is
never used and may be null
.
selectionPerformed
in interface LySelectionListener
selectionEvent
- description of the selection which has occuredLySelectionListener.selectionPerformed(leon.view.event.LySelectionEvent)
public void actionPerformed(LyActionEvent actionEvent)
actionPerformed
in interface LyActionListener
LyActionListener.actionPerformed(leon.view.event.LyActionEvent)
public void setEnabled(boolean status)
setEnabled
in interface LySetEnabledInterface
LySetEnabledInterface.setEnabled(boolean)
public void setEditable(boolean status)
setEditable
in interface LySetEditableInterface
LySetEditableInterface.setEditable(boolean)
public java.awt.Component getComponent()
getComponent
in interface LySwingComponent
getComponent
in class LySwingObject
LySwingComponent.getComponent()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |