public abstract class RFSwitch 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> |
_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 |
---|
RFSwitch(java.awt.Dimension dim_,
IEData[] data_)
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> _mapStatus
public RFSwitch(java.awt.Dimension dim_, IEData[] data_)
dim_
- Is the dimension of the container. This can also be
null
.data_
- Is an array of the enumeration interfaces.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