Class TSShL

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

 class TSShL
extends TSSh

.

======================================================================
 Klasse TSShL -- Definition eines lokalen Shape-Eintrags
   Diese Klasse beschreibt eine Shape-Definition, wie sie in
   der LOKALEN 'tsection.dat' vorkommt. Dies wird im weiteren
   'Pfad-Definition genannt.
 ##TSShL (Eyecatcher)
======================================================================
 


Field Summary
protected static java.lang.String IdStr
           
private  int Nr
           
private  int NrA
           
private  java.util.ArrayList<TSScL> ScR
           
private  TSShL ShR
           
 
Constructor Summary
protected TSShL()
          .
protected TSShL(int nr)
          .
 
Method Summary
protected  int addScR(TSScL cSc)
          .
protected  TSShL chgShR(TSShL sh)
          .
protected  java.lang.String crDef(int vl)
          .
protected  int fndSc(TSScL cSc)
          .
protected  int getNr(boolean orig)
          .
protected  java.util.Iterator getScR()
          .
protected  int setNr(int nr)
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class TSSh
addSc, getSc, incCntR, incCntS, incCntW
 
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

NrA

private int NrA

ShR

private TSShL ShR

ScR

private java.util.ArrayList<TSScL> ScR
Constructor Detail

TSShL

protected TSShL()
.
=====================================================================
 Constructor: (1) Create default-entry
=====================================================================
  


TSShL

protected TSShL(int nr)
.
=====================================================================
 Constructor: (2) Create standard-entry
=====================================================================
  

Method Detail

addScR

protected int addScR(TSScL cSc)
.
=====================================================================
 Method "addScR"
 Add a new section to the list of section-references
 Method returns new number of references within the section-list
 If Argument equals 'null' nothing is added but return-value matches.
 Attention: Method is 'missused' to return current number of
            sectionlist-entries. Normally method 'get$Sc()' is used
            for this.
 ##addSc.TSShL (Eyecatcher)
=====================================================================
  


chgShR

protected TSShL chgShR(TSShL sh)
.
=====================================================================
 Methode "chgShR"
 Referenzverkettung der Pfade berabeiten
 ##chgShR.TSShL (Eyecatcher)
=====================================================================
  


crDef

protected java.lang.String crDef(int vl)
.
=====================================================================
 Methode "crDef"
 Definitionszeile 'Pfad' fuer 'tsection.dat' erstellen
 ##crDef.TSShL (Eyecatcher)
=====================================================================
  


fndSc

protected int fndSc(TSScL cSc)
.
=====================================================================
 Methode "fndSc"
 Find section-definition within list and return position
 Methos returns 'MIN_VALUE' if section was not found
 ##fndSc.TSShL (Eyecatcher)
=====================================================================
  


getNr

protected int getNr(boolean orig)
.
=====================================================================
 Methode "getNr"
 neue/aktuelle Nummer der Shape-Definition holen
 ##getNr.TSShL (Eyecatcher)
=====================================================================
  

Overrides:
getNr in class TSSh

getScR

protected java.util.Iterator getScR()
.
=====================================================================
 Methode "getScR"
 Get access to section-array using iterator
 ##getScR.TSShL (Eyecatcher)
=====================================================================
  


setNr

protected int setNr(int nr)
.
=====================================================================
 Methode "setNr"
 neue Nummer der Pfad-Definition (lokal) setzen
 Ein negativer Wert 'entwertet' den Index-Eintrag
 ##setNr.TSShL (Eyecatcher)
=====================================================================
  


toStr

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

Overrides:
toStr in class TSSh