|
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.LySwingFile
public class LySwingFile
This class implements the File selector object (as described in the dtd) for swing viewer.
An input field of File type allows to display a graphical component allowing to select a file. The type of file can be specified (text, image, audio, video). According to the form in which this field is present, the graphical component allows to choose the location of the file and/or to view the access path to the file.
LyFile
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySwingFile(LyFile file)
Class constructor of a File object for the Swing target. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs. |
void |
actionPerformed(LyActionEvent actionEvent)
Invoked when an action occurs. |
java.awt.Component |
getComponent()
(non-Javadoc). |
java.lang.String |
getLabel()
Gets the label of the file component. |
void |
initialize()
Initialize this object. |
void |
setContent()
Sets the inital value of this object. |
void |
setEditable(boolean editable)
(Modification) Accessor (LySetEditableInterface interface). |
void |
setEnabled(boolean enabled)
Indicates the parent enablen status. |
void |
setLabel(java.lang.String label)
Sets the label of the file 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, 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 LySwingFile(LyFile file)
file
- a FILE component defined for every type of view targets. This component is
initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
public void setContent()
public void setEditable(boolean editable)
LySetEditableInterface
setEditable
in interface LySetEditableInterface
public void setEnabled(boolean enabled)
setEnabled
in interface LySetEnabledInterface
LySetEnabledInterface.setEnabled(boolean)
public void actionPerformed(LyActionEvent actionEvent)
LyActionListener
actionPerformed
in interface LyActionListener
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.String getLabel()
setLabel(String)
public void setLabel(java.lang.String label)
setLabel
in interface LyGraphicalFile
setLabel
in interface LySetLabelInterface
label
- new labelgetLabel()
,
LySetLabelInterface.setLabel(String)
public java.awt.Component getComponent()
LySwingObject
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 |