|
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.LySwingCommands
public class LySwingCommands
This class implements the Command bar object (as described in the dtd) for swing viewer.
A command bar allows to display a set of command buttons (Validate, Cancel, Close, etc.). This bar is generally located at the bottom of a page or window.
LyCommands
,
LyCommand
,
LySwingCommand
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySwingCommands(LyCommands commands)
Class constructor of a command bar object for the Swing target. |
Method Summary | |
---|---|
void |
actionPerformed(LyActionEvent actionEvent)
(non-Javadoc). |
void |
addCommand(java.awt.Component button)
Adds a button component to the panel. |
void |
addSep()
Adds a separator to the panel. |
java.awt.Container |
createLastBorderPanel(int align)
Creates and configures the last border panel. |
java.awt.Container |
createPanel()
Creates and configures the panel that contains all the commands. |
void |
free()
(non-Javadoc). |
LyActionTransmitter |
getActionTransmitter()
(non-Javadoc). |
java.awt.Component |
getComponent()
(non-Javadoc). |
LySelectionTransmitter |
getSelectionTransmitter()
This command bar doesn't handle selection events, so it has no selection transmitter. |
void |
initialize()
Initializes the current commands panel. |
void |
setContent()
Creates and configures all the command buttons for this command bar. |
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 LySwingCommands(LyCommands commands)
commands
- a COMMANDS component defined for every type of view targets. This command bar
component is initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
public java.awt.Container createPanel()
public java.awt.Container createLastBorderPanel(int align)
align
- Specifies the alignment of the commands using the FlowLayout alignment values.
public void setContent()
public void actionPerformed(LyActionEvent actionEvent)
actionPerformed
in interface LyActionListener
LyActionListener.actionPerformed(leon.view.event.LyActionEvent)
public LyActionTransmitter getActionTransmitter()
getActionTransmitter
in interface LyEventTransmitter
LyEventTransmitter.getActionTransmitter()
public LySelectionTransmitter getSelectionTransmitter()
getSelectionTransmitter
in interface LyEventTransmitter
null
LyEventTransmitter.getSelectionTransmitter()
public void free()
free
in interface LyGraphicalComponent
free
in interface LyFreeInterface
free
in class LyGraphicalObject
LyFreeInterface.free()
public java.awt.Component getComponent()
getComponent
in interface LySwingComponent
getComponent
in class LySwingObject
LySwingComponent.getComponent()
public void addCommand(java.awt.Component button)
button
- the button componentpublic void addSep()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |