public class DisplayState extends Object
| Modifier and Type | Field and Description |
|---|---|
private JCheckBox |
cbx
for gui
|
private String |
name
the name
|
private boolean |
visible
is this visible
|
private WayDisplayState |
wayDisplayState
the way display state
|
| Constructor and Description |
|---|
DisplayState()
ctor
|
DisplayState(WayDisplayState wayDisplayState,
String name,
boolean visible)
ctor
|
| Modifier and Type | Method and Description |
|---|---|
JCheckBox |
getCheckBox()
make the checkbox
|
String |
getName()
Get the Name property.
|
boolean |
getVisible()
Get the Visible property.
|
WayDisplayState |
getWayDisplayState()
Get the WayDisplayState property.
|
protected void |
setBackground(Color c)
set background color
|
void |
setName(String value)
Set the Name property.
|
void |
setVisible(boolean value)
Set the Visible property.
|
void |
setWayDisplayState(WayDisplayState value)
Set the WayDisplayState property.
|
private WayDisplayState wayDisplayState
private boolean visible
public DisplayState()
public DisplayState(WayDisplayState wayDisplayState, String name, boolean visible)
wayDisplayState - the way display statename - the namevisible - is this visibleprotected void setBackground(Color c)
c - colorpublic JCheckBox getCheckBox()
public void setVisible(boolean value)
value - The new value for Visiblepublic boolean getVisible()
public void setName(String value)
value - The new value for Namepublic void setWayDisplayState(WayDisplayState value)
value - The new value for WayDisplayStatepublic WayDisplayState getWayDisplayState()