Class TSSigSgL

java.lang.Object
  extended by TSOpts
      extended by TSSigSgL
All Implemented Interfaces:
java.io.Serializable

 class TSSigSgL
extends TSOpts

.

======================================================================
 Class TSSigSgL -- Definition of a SignalLight-Entry
  This entry is referenced from a 'SignalType'-definition.
 ##TSSigSgL (Eyecatcher)
======================================================================
 


Field Summary
private  int Cnt
           
protected static java.lang.String IdStr
           
private  TSSigLgt LRef
           
private  int Nr
           
private  TSPos Pos
           
private  double R
           
 
Constructor Summary
protected TSSigSgL()
          .
protected TSSigSgL(int nr, TSSigLgt lr)
          .
 
Method Summary
protected  TSSigLgt chgLRef(TSSigLgt nR)
          .
protected  java.util.Iterator<java.lang.String> crDef(java.util.ArrayList<java.lang.String> LneT)
          .
protected  int getNr()
          .
protected  int incCnt(int inc)
          .
protected  TSPos setLPos(TSPos cP)
          .
protected  boolean setLRad(double r)
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class TSOpts
$init, chkMsk, chkMsk, clrMsk, clrMsk, cntMsk, cntMsk, fndMsk, getMsk, orMsk, orMsk, prtMsk, resMsk, setMsk, setMsk, tstMsk
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IdStr

protected static final java.lang.String IdStr
See Also:
Constant Field Values

Nr

private int Nr

Cnt

private int Cnt

LRef

private TSSigLgt LRef

Pos

private TSPos Pos

R

private double R
Constructor Detail

TSSigSgL

protected TSSigSgL()
.
 Used options (stored within mask of 'TSOpt'):
  0 to 15 - not used until now (Systemoptions)
       16 - SignalFlags: SEMAPHORE_CHANGE
       17 -
=====================================================================
 Constructor: (1) Create default-entry
=====================================================================
  


TSSigSgL

protected TSSigSgL(int nr,
                   TSSigLgt lr)
.
=====================================================================
 Constructor: (2) Create standard-entry
=====================================================================
  

Method Detail

chgLRef

protected TSSigLgt chgLRef(TSSigLgt nR)
.
=====================================================================
 Method "chgLRef"
 Manage reference to signallight-texture definition.
 ##chgLRef.TSSigSgL (Eyecatcher)
=====================================================================
  


crDef

protected final java.util.Iterator<java.lang.String> crDef(java.util.ArrayList<java.lang.String> LneT)
.
=====================================================================
 Method "crDef"
 Create readeable lines for output of definition.
 ##crDef.TSSigSgL (Eyecatcher)
=====================================================================
  


getNr

protected int getNr()
.
=====================================================================
 Method "getNr"
 Return current number of entry
 ##getNr.TSSigSgL (Eyecatcher)
=====================================================================
  


incCnt

protected final int incCnt(int inc)
.
=====================================================================
 Method "incCnt"
 Increment reference-counter
 (using argument '0', reference-counter may be returned only)
 ##incCnt.TSSigSgL (Eyecatcher)
=====================================================================
  


setLPos

protected TSPos setLPos(TSPos cP)
.
=====================================================================
 Method "setLPos"
 Store current position of light-object.
 ##setLPos.TSSigSgL (Eyecatcher)
=====================================================================
  


setLRad

protected boolean setLRad(double r)
.
=====================================================================
 Method "setLRad"
 Store new radius-value of the signallight-object.
 ##setLRad.TSSigSgL (Eyecatcher)
=====================================================================
  


toStr

protected final java.lang.String toStr()
.
=====================================================================
 Method "toStr"
 Build a string-representation of all values of this class
 ##toStr.TSSigSgL (Eyecatcher)
=====================================================================
  

Overrides:
toStr in class TSOpts