Overview  Package   Class  Tree  Index 

be.lassi.ui.patch
Class PatchDetail

java.lang.Object
  extended by be.lassi.ui.patch.PatchDetail

public class PatchDetail
extends java.lang.Object

Patch information for a dimmer.


Field Summary
static int CHANNEL_NAME
          Index of channel name column.
static int CHANNEL_NUMBER
          Index of channel number column.
static int DIMMER_NAME
          Index of dimmer name column.
static int DIMMER_NUMBER
          Index of dimmer number column.
static int LANBOX_CHANNEL_NUMBER
          Index of the lanbox channel number column.
static int ON
          Index of column that indicates whether the dimmer is currently faded in.
 
Constructor Summary
PatchDetail(Dimmer dimmer)
          Constructs a new instance.
 
Method Summary
 Dimmer getDimmer()
          Gets the dimmer.
 boolean isOn()
          Indicates whether the dimmer is faded in.
 void setOn(boolean on)
          Sets the 'on' indicator.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHANNEL_NAME

public static final int CHANNEL_NAME
Index of channel name column.

See Also:
Constant Field Values

CHANNEL_NUMBER

public static final int CHANNEL_NUMBER
Index of channel number column.

See Also:
Constant Field Values

DIMMER_NAME

public static final int DIMMER_NAME
Index of dimmer name column.

See Also:
Constant Field Values

DIMMER_NUMBER

public static final int DIMMER_NUMBER
Index of dimmer number column.

See Also:
Constant Field Values

LANBOX_CHANNEL_NUMBER

public static final int LANBOX_CHANNEL_NUMBER
Index of the lanbox channel number column.

See Also:
Constant Field Values

ON

public static final int ON
Index of column that indicates whether the dimmer is currently faded in.

See Also:
Constant Field Values
Constructor Detail

PatchDetail

public PatchDetail(Dimmer dimmer)
Constructs a new instance.

Parameters:
dimmer - the dimmer for which to keep the patch details
Method Detail

getDimmer

public Dimmer getDimmer()
Gets the dimmer.

Returns:
the dimmer

isOn

public boolean isOn()
Indicates whether the dimmer is faded in.

Returns:
true if the dimmer is faded in

setOn

public void setOn(boolean on)
Sets the 'on' indicator.

Parameters:
on - true if the dimmer is faded in

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2