Class TSActAO

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

 class TSActAO
extends TSOpts

.

======================================================================
 Class TSActAO -- Attribute-defininition within a Activity
   Type: ActivityObject
 ##TSActAO (Eyecatcher)
======================================================================
 


Field Summary
private  int Dir
           
private  int ID
           
protected static java.lang.String IdStr
           
private  TSQPos Pos
           
private  TSTrain Trn
           
 
Constructor Summary
protected TSActAO()
          .
 
Method Summary
protected  int chgDir(int nV)
          .
protected  TSTrain chgTrn(TSTrain cT)
          .
protected  java.lang.String crDef(int t)
          .
protected  java.lang.String fndWrld(java.util.TreeSet<TSQuad> QDf)
          .
protected  int maxID(int v)
          .
protected  int setID(int v)
          .
protected  TSQPos setPos(TSQPos cP)
          .
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

Trn

private TSTrain Trn

ID

private int ID

Dir

private int Dir

Pos

private TSQPos Pos
Constructor Detail

TSActAO

protected TSActAO()
.
 Used options (stored within mask of 'TSOpt'):
        0 - Objecttype is: 'WagonsList'
        1 -
        2 -
  3 to 14 - not used
       15 - 'Train_Config'-definition found
       16 - 'Direction'-definition found
       17 - 'ID'-definition found
       18 - 'Tile'-definition found (Position)
       19 -
       20 -
       21 -
       31 - Reserved for temporary usage
=====================================================================
 Constructor: (1) create default-entry
=====================================================================
  

Method Detail

chgDir

protected final int chgDir(int nV)
.
=====================================================================
 Method "chgDir"
 Change value of 'Direction' or only 'return it'
 ##chgDir.TSActAO (Eyecatcher)
=====================================================================
  


chgTrn

protected final TSTrain chgTrn(TSTrain cT)
.
=====================================================================
 Method "chgTrn"
 Replace definiton of train if requested, else only return it
 ##chgTrn.TSActAO (Eyecatcher)
=====================================================================
  


crDef

protected final java.lang.String crDef(int t)
.
=====================================================================
 Method "crDef"
 Create output-line due to requested type
 ##crDef.TSActAO (Eyecatcher)
=====================================================================
  


fndWrld

protected final java.lang.String fndWrld(java.util.TreeSet<TSQuad> QDf)
.
=====================================================================
 Method "fndWrld"
 Search world-definiton of position-value and insert it
 Method returns an error-marker or 'null' if no error
 ##fndWrld.TSActAO (Eyecatcher)
=====================================================================
  


maxID

protected final int maxID(int v)
.
=====================================================================
 Methode "maxID"
 Check 'Service-ID' of object an return current maximum
 ##maxID.TSActAO (Eyecatcher)
=====================================================================
  


setID

protected final int setID(int v)
.
=====================================================================
 Methode "setID"
 Store new 'Service-ID' of object
 Current value is overwritten in any case. However, old value is
   returned.
 ##setID.TSActAO (Eyecatcher)
=====================================================================
  


setPos

protected final TSQPos setPos(TSQPos cP)
.
=====================================================================
 Method "setPos"
 Replace position-reference.
 Current value is overwritten in any case. However, old value is
   returned.
 ##setPos.TSActAO (Eyecatcher)
=====================================================================
  


toStr

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

Overrides:
toStr in class TSOpts