public static class MImagesPDM.DBTable extends MImagesPDM.DBImgBase
| Modifier and Type | Field and Description |
|---|---|
protected int |
myAbsX
Absolut-X.
|
protected int |
myAbsY
Absolut-Y.
|
myImageBuffer, SHADOWmySizeX, mySizeY, myX, myY| Constructor and Description |
|---|
DBTable()
Standard-Constructor.
|
DBTable(String dbtablename,
int x,
int y)
Constructor mit diversen Werten.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDBField(int i,
MImagesPDM.DBField dbfield)
DB-Field an bestimmtem Index hinzufügen.
|
void |
addDBField(MImagesPDM.DBField dbfield)
DB-Field hinzufügen.
|
void |
calcAbs(int x0,
int y0,
MImagesPDM.DBModel dbmodel)
Absolut-Werte berechnen.
|
protected void |
drawLine2(ImageBuffer ib,
int xa,
int ya,
int xe,
int ye)
Linie zeichnen.
|
protected void |
drawLine3(ImageBuffer ib,
int xa,
int ya,
int xe,
int ye,
int xm)
Linie zeichnen.
|
protected void |
drawPtr2Bottom(ImageBuffer ib,
int xe,
int ye,
int ptrSize,
int ptrWidth)
Pfeil nach unten zeichnen.
|
protected void |
drawPtr2Left(ImageBuffer ib,
int xe,
int ye,
int ptrSize,
int ptrWidth)
Pfeil nach links zeichnen.
|
protected void |
drawPtr2Right(ImageBuffer ib,
int xe,
int ye,
int ptrSize,
int ptrWidth)
Pfeil nach rechts zeichnen.
|
protected void |
drawPtr2Top(ImageBuffer ib,
int xe,
int ye,
int ptrSize,
int ptrWidth)
Pfeil nach oben zeichnen.
|
int |
getAbsX()
Absolut-X ermitteln.
|
int |
getAbsY()
Absolut-Y ermitteln.
|
String |
getDBTableName()
DB-Table-Name ermitteln.
|
int |
getFieldY(String name)
Field-Y ermitteln.
|
int |
getFKCount()
FK-Anzahl ermitteln.
|
void |
load(com.sta.cts.XMLScanner xs)
DB-Fields laden.
|
void |
load(com.sta.cts.XMLTag t,
MImagesPDM.DBModel dbmodel)
DB-Table laden.
|
void |
run(MImagesPDM.DBModel dbmodel)
DB-Tabelle verarbeiten.
|
void |
runFKs(ImageBuffer ib,
MImagesPDM.DBModBase base,
MImagesPDM.DBModel dbmodel)
FK's abarbeiten.
|
void |
save(String dst,
MImagesPDM.DBModel dbmodel)
Bild speichern.
|
void |
setDBTableName(String dbtablename)
DB-Table-Name vorgeben.
|
getImageBuffer, intersection, intersectsgetSizeX, getSizeY, getX, getY, loadBoolean, loadInt, loadString, setX, setYpublic DBTable()
public DBTable(String dbtablename, int x, int y)
dbtablename - DB-Table-Namex - Xy - Ypublic int getAbsX()
public int getAbsY()
public String getDBTableName()
public void setDBTableName(String dbtablename)
dbtablename - DB-Table-Namepublic void addDBField(MImagesPDM.DBField dbfield)
dbfield - DB-Fieldpublic void addDBField(int i,
MImagesPDM.DBField dbfield)
i - Indexdbfield - DB-Fieldpublic void load(com.sta.cts.XMLTag t,
MImagesPDM.DBModel dbmodel)
t - XML-Tagdbmodel - DB-Modelpublic void load(com.sta.cts.XMLScanner xs)
throws Exception
xs - XML-ScannerException - im Fehlerfallpublic int getFKCount()
public void run(MImagesPDM.DBModel dbmodel)
dbmodel - DB-Modelpublic void calcAbs(int x0,
int y0,
MImagesPDM.DBModel dbmodel)
x0 - X0y0 - Y0dbmodel - DB-Modelprotected void drawPtr2Left(ImageBuffer ib, int xe, int ye, int ptrSize, int ptrWidth) throws Exception
ib - Image-Bufferxe - XEye - YEptrSize - GrößeptrWidth - BreiteException - im Fehlerfallprotected void drawPtr2Right(ImageBuffer ib, int xe, int ye, int ptrSize, int ptrWidth) throws Exception
ib - Image-Bufferxe - XEye - YEptrSize - GrößeptrWidth - BreiteException - im Fehlerfallprotected void drawPtr2Top(ImageBuffer ib, int xe, int ye, int ptrSize, int ptrWidth) throws Exception
ib - Image-Bufferxe - XEye - YEptrSize - GrößeptrWidth - BreiteException - im Fehlerfallprotected void drawPtr2Bottom(ImageBuffer ib, int xe, int ye, int ptrSize, int ptrWidth) throws Exception
ib - Image-Bufferxe - XEye - YEptrSize - GrößeptrWidth - BreiteException - im Fehlerfallprotected void drawLine2(ImageBuffer ib, int xa, int ya, int xe, int ye) throws Exception
ib - Image-Bufferxa - XAya - YAxe - XEye - YEException - im Fehlerfallprotected void drawLine3(ImageBuffer ib, int xa, int ya, int xe, int ye, int xm) throws Exception
ib - Image-Bufferxa - XAya - YAxe - XEye - YExm - XMException - im Fehlerfallpublic void runFKs(ImageBuffer ib, MImagesPDM.DBModBase base, MImagesPDM.DBModel dbmodel) throws Exception
ib - Image-Bufferbase - Model-/Modul-Basisdbmodel - DB-ModelException - im Fehlerfallpublic int getFieldY(String name)
name - Namepublic void save(String dst, MImagesPDM.DBModel dbmodel)
dst - Zieldbmodel - DB-ModelCopyright © 2005-2023–2024 >StA-Soft<. All rights reserved.