|
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.LySwingPanel
leon.view.win.swing.LySwingNotice
public class LySwingNotice
This class implements the Notice object (as described in the dtd) for swing viewer.
An information panel allows to display an insert having an informative purpose. It is possible to assign an icon, a label and a progress bar to an information panel.
LyForm
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
int |
BORDER_SIZE
Number of pixels of the border. |
Constructor Summary | |
---|---|
LySwingNotice(LyNotice notice)
Class constructor of an Information panel object for the Swing target. |
Method Summary | |
---|---|
void |
checkMultiLineLabel(java.awt.Component comp)
Sets up correctly the label rows and columns if it's multilined. |
javax.swing.JPanel |
createContentPanel()
Creates and configures the internal panel's container. |
java.awt.Container |
createInternalPanel()
Creates and configures the internal panel. |
java.awt.Component |
getComponent()
(non-Javadoc). |
void |
initialize()
Builds the panel and sets its background color as well as the layout to use. |
void |
setContent()
Fills the panel with default properties. |
Methods inherited from class leon.view.win.swing.LySwingPanel |
---|
setPopupMenu |
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
public int BORDER_SIZE
Constructor Detail |
---|
public LySwingNotice(LyNotice notice)
notice
- a NOTICE component defined for every type of view targets. This information
panel is initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
public void setContent()
public java.awt.Container createInternalPanel()
public javax.swing.JPanel createContentPanel()
public void checkMultiLineLabel(java.awt.Component comp)
comp
- the label componentpublic 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 |