|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSQDef
TSQuad
class TSQuad
.
====================================================================== Klasse TSQuad -- Definition eines Strukturquadrates Edge-length of a structe-quad equals 1 in every case. This part extends the independand part of a Quad-structure with the psition-dependand part (like quad-number X and Z) of a structure-definition. ##TSQuad (Eyecatcher) ======================================================================
Field Summary | |
---|---|
protected static java.lang.String |
IdStr
|
private int |
nQx
|
private int |
nQz
|
private TSQuad |
QDef
|
private int |
Qx
|
private int |
Qz
|
private java.lang.String |
sNme
|
private TSTile |
Tle
|
private java.lang.String |
wNme
|
Constructor Summary | |
---|---|
protected |
TSQuad()
. |
protected |
TSQuad(int qx,
int qz,
java.lang.String wn,
java.lang.String sn,
TSQuad ch)
. |
protected |
TSQuad(TSQuad cQ,
int qx,
int qz)
. |
Method Summary | |
---|---|
protected TSQuad |
chgQDf(TSQuad cq)
. |
protected TSTile |
chgTle(TSTile ct)
. |
int |
compareTo(TSQuad vQ)
. |
protected TSCoo |
crCoo(TSPos cP)
. |
protected int |
dX(int cX)
. |
protected int |
dZ(int cZ)
. |
protected TSQuad |
fndQuad(TSRoute cR,
int dx,
int dz)
. |
protected java.lang.String |
getInf(int nr)
. |
protected java.lang.String |
getMsg(int nr,
java.lang.String s,
int x,
int z)
. |
protected boolean |
isWrld(int qx,
int qz)
. |
protected boolean |
setNme(boolean wrld)
. |
protected java.lang.String |
shft(int dx,
int dz)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class TSQDef |
---|
chg$View, chgMde, chgSTab, chgView, chgWTab, fndView, getOId, getSId, getSnd, getUid, getWId, reSortW |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String IdStr
private int Qx
private int Qz
private int nQx
private int nQz
private java.lang.String wNme
private java.lang.String sNme
private TSQuad QDef
private TSTile Tle
Constructor Detail |
---|
protected TSQuad()
===================================================================== Constructor: (1) Create default-entry =====================================================================
protected TSQuad(int qx, int qz, java.lang.String wn, java.lang.String sn, TSQuad ch)
===================================================================== Constructor: (2) Create standard-entry =====================================================================
protected TSQuad(TSQuad cQ, int qx, int qz)
===================================================================== Constructor: (3) Create extension-entry =====================================================================
Method Detail |
---|
protected TSQuad chgQDf(TSQuad cq)
===================================================================== Methode "chgQDf" Quadratstruktur-Verkettung innerhalb Tiles liefern oder veraendern ACHTUNG: Wert nicht veraendern wenn 'cq==null' ##chgQDf.TSQuad (Eyecatcher) =====================================================================
protected TSTile chgTle(TSTile ct)
===================================================================== Methode "chgTle" Rueckverkettung zu Tile bearbeiten ACHTUNG: Wert nicht veraendern wenn 'ct==null' ##chgTle.TSQuad (Eyecatcher) =====================================================================
public int compareTo(TSQuad vQ)
===================================================================== Methode "compareTo" Methode zum sortieren der Elemente ACHTUNG: Elemente sind gleich auch wenn die Vorzeichen NICHT uebereinstimmen (Sortierfolge) Attention: Name of this Method is requested by Interface 'Comparable'. Results need not be 0,1,-1 Note: This class has a natural ordering that is inconsistent with equals. ##compareTo.TSQuad (Eyecatcher) =====================================================================
compareTo
in interface java.lang.Comparable<TSQuad>
protected TSCoo crCoo(TSPos cP)
===================================================================== Methode "crCoo" Positions-Definition als Koordinaten-Objekt liefern ##crCoo.TSQuad (Eyecatcher) =====================================================================
protected final int dX(int cX)
===================================================================== Methode "dX" Returns number of Quads to target using X-direction ##dX.TSQuad (Eyecatcher) =====================================================================
protected final int dZ(int cZ)
===================================================================== Methode "dZ" Returns number of Quads to target using Z-direction ##dZ.TSQuad (Eyecatcher) =====================================================================
protected TSQuad fndQuad(TSRoute cR, int dx, int dz)
===================================================================== Methode "fndQuad" benachbarte Quad-Definition gemaess Differenzwerten suchen wenn nicht gefunden (oder Fehler) wird 'null' geliefert ##fndQuad.TSQuad (Eyecatcher) =====================================================================
protected java.lang.String getInf(int nr)
===================================================================== Methode "getInf" Diese Methode liefert aufbereitete Basisinformationen ##getInf.TSQuad (Eyecatcher) =====================================================================
protected java.lang.String getMsg(int nr, java.lang.String s, int x, int z)
===================================================================== Methode "getMsg" Diese Methode liefert aufbereitete Informationen/Message/Datenwert Je nach Kennung koennen auch 'private'-Werte in den Rueckgabe-String eingebaut werden ##getMsg.TSQuad (Eyecatcher) =====================================================================
protected boolean isWrld(int qx, int qz)
===================================================================== Methode "isWrld" pruefen ob geforderte Quadrat-Definition vorliegt ##isWrld.TSQuad (Eyecatcher) =====================================================================
protected boolean setNme(boolean wrld)
===================================================================== Methode "setNme" Namensdefinition (world/sound) setzen (aktivieren) falls noch nicht vorhanden Methode liefert 'true', wenn der Name neu erstellt wurde ##setNme.TSQuad (Eyecatcher) =====================================================================
protected java.lang.String shft(int dx, int dz)
===================================================================== Methode "shft" aktuelle gespeicherte 'NEUE' Koordinaten veraendern Methode liefert Fehlermeldung falls Fehler auftritt ##shft.TSQuad (Eyecatcher) =====================================================================
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSQuad (Eyecatcher) =====================================================================
toStr
in class TSQDef
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |