public abstract class RFSwitchArray extends java.lang.Object implements IViewContainer
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<IEData,IViewComponent> |
_mapButtonOff
Is the map of the pairs IEData and IViewComponent for the
button off.
|
protected java.util.Map<IEData,IViewComponent> |
_mapButtonOn
Is the map of the pairs IEData and IViewComponent for the
button on.
|
protected java.util.Map<IEData,IViewComponent> |
_mapLabel
Is the map of the pairs IEData and IViewComponent for the
label.
|
protected java.util.Map<IEData,IViewComponent> |
_mapStatus
Is the map of the pairs IEData and IViewComponent for the
switch label.
|
static long |
serialVersionUID
The serial version UID, which is used by the java.io.Serializable
interface.
|
Constructor and Description |
---|
RFSwitchArray(java.awt.Dimension dim_,
int rows_,
java.awt.Insets insets_,
boolean hasLine_,
java.lang.String strTitle_,
IEData[][] element_,
java.lang.String[][] action_)
Constructs and initialize the two buttons and the label.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(IEValue container_,
EViewElement element_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL
THROW A RUNTIME EXCEPTION!
|
javax.swing.JComponent |
getPanel()
Returns the component element.
|
java.lang.Number |
getValue(IEValue container_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL
THROW A RUNTIME EXCEPTION!
|
void |
reset(IEValue container_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL
THROW A RUNTIME EXCEPTION!
|
void |
setBoolean(IEValue container_,
EViewElement element_,
boolean value_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL
THROW A RUNTIME EXCEPTION!
|
void |
setValue(IEValue container_,
java.lang.Number value_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL
THROW A RUNTIME EXCEPTION!
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent
public static final long serialVersionUID
protected java.util.Map<IEData,IViewComponent> _mapButtonOn
protected java.util.Map<IEData,IViewComponent> _mapButtonOff
protected java.util.Map<IEData,IViewComponent> _mapLabel
protected java.util.Map<IEData,IViewComponent> _mapStatus
public RFSwitchArray(java.awt.Dimension dim_, int rows_, java.awt.Insets insets_, boolean hasLine_, java.lang.String strTitle_, IEData[][] element_, java.lang.String[][] action_)
dim_
- Is the dimension if this container. It can also be
null
.rows_
- This is the number of rows for each column.insets_
- Is the gap between the different entries. The class of
Insets
allows to set a gap in all four directions. It
can also be null
.hasLine_
- Is a boolean parameter which allows to draw a line
between a group of elements. This divides different groups in
columns by a line.strTitle_
- This is the title of the switch container. This can
also be null
.element_
- Is an array of the enumeration interfaces.action_
- Is an array of the action commands.public void reset(IEValue container_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL THROW A RUNTIME EXCEPTION!
(non-Javadoc)
reset
in interface IViewContainer
container_
- Is the viewable container enumeration interface.IViewContainer.reset(de.desy.mst.libs.accelerator.IEValue)
public javax.swing.JComponent getPanel()
IViewContainer
getPanel
in interface IViewContainer
public boolean getBoolean(IEValue container_, EViewElement element_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL THROW A RUNTIME EXCEPTION!
(non-Javadoc)
getBoolean
in interface IViewContainer
container_
- Is the viewable container enumeration interface.element_
- Is the enumeration of the viewable element.IViewContainer.getBoolean(de.desy.mst.libs.accelerator.IEValue, de.desy.mst.libs.accelerator.EViewElement)
public java.lang.Number getValue(IEValue container_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL THROW A RUNTIME EXCEPTION!
(non-Javadoc)
getValue
in interface IViewContainer
container_
- Is the viewable container enumeration interface.IViewContainer.getValue(de.desy.mst.libs.accelerator.IEValue)
public void setBoolean(IEValue container_, EViewElement element_, boolean value_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL THROW A RUNTIME EXCEPTION!
(non-Javadoc)
setBoolean
in interface IViewContainer
container_
- Is the viewable container enumeration interface.element_
- Is the enumeration of the viewable element.value_
- Is the boolean value to be set.IViewContainer.setBoolean(de.desy.mst.libs.accelerator.IEValue, de.desy.mst.libs.accelerator.EViewElement, boolean)
public void setValue(IEValue container_, java.lang.Number value_)
ATTENTION: THIS METHOD IS CURRENTLY NOT USED AND WILL THROW A RUNTIME EXCEPTION!
(non-Javadoc)
setValue
in interface IViewContainer
container_
- Is the viewable container enumeration interface.value_
- Is the numeric value.IViewContainer.setValue(de.desy.mst.libs.accelerator.IEValue, java.lang.Number)
14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft