|
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.LySwingGauge
public class LySwingGauge
This class implements the Gauge object (as described in the dtd) for swing viewer.
A gauge is defined with minimum and maximum values as well as a current value.
LyColor
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySwingGauge(LyGauge gauge)
Class constructor of a Gauge object for the Swing target. |
Method Summary | |
---|---|
java.awt.Component |
createGauge(LyEnvironment environment)
Creates the gauge swing component with the default properties. |
java.awt.Component |
getComponent()
(non-Javadoc). |
void |
initialize()
Initializes this progress bar. |
void |
setContent()
Sets the initial values. |
void |
setInitialValues()
Initializes this gauge: sets the minimum, maximum and current values, then sets the gauge label, if any. |
void |
setLabel(java.lang.String label)
Sets the current component label. |
void |
setNValue(int nValue)
Sets the current component value. |
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 LySwingGauge(LyGauge gauge)
gauge
- a GAUGE component defined for every type of view targets. This
gauge is initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
public void setContent()
public java.awt.Component createGauge(LyEnvironment environment)
environment
- the current context. This is not used in this implementation.
public void setInitialValues()
public void setNValue(int nValue)
setNValue
in interface LyGraphicalGauge
nValue
- New value of nValue.LyGraphicalGauge.setNValue(int)
public void setLabel(java.lang.String label)
setLabel
in interface LyGraphicalGauge
setLabel
in interface LySetLabelInterface
label
- New value of label.LySetLabelInterface.setLabel(String)
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 |