public class OrdnerImpl extends de.willuhn.datasource.db.AbstractDBObject implements Ordner
CREATE TABLE ordner (
id NUMERIC default UNIQUEKEY('ordner'),
title varchar(80) NOT NULL,
titleFont varchar(80),
titleColor int,
titleAlignmnet int,
content varchar(300),
contentFont varchar(80),
contentColor int,
contentAlignmnet int,
footer varchar(100),
footerFont varchar(80),
footerColor int,
footerAlignmnet int,
labelBackground int,
horizontalBarVisible boolean default true,
horizontalBarColor int,
idVisible boolean default true,
registerIndexFont varchar(80),
registerIndexColor int,
registerIndexBackground int,
registerContentFont varchar(80),
registerContentColor int,
registerContentBackground int,
width int,
lastSaveDate date,
UNIQUE (id),
PRIMARY KEY (id)
);
| Constructor and Description |
|---|
OrdnerImpl()
Standart Konstruktor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteCheck() |
org.eclipse.swt.graphics.Color |
getBarColor() |
java.lang.String |
getContent() |
int |
getContentAlignment() |
org.eclipse.swt.graphics.Color |
getContentColor() |
int |
getContentDirection() |
org.eclipse.swt.graphics.Font |
getContentFont() |
java.lang.String |
getFooter() |
int |
getFooterAlignment() |
org.eclipse.swt.graphics.Color |
getFooterColor() |
int |
getFooterDirection() |
org.eclipse.swt.graphics.Font |
getFooterFont() |
de.willuhn.datasource.rmi.DBIterator<Register> |
getInhaltsverzeichniss() |
org.eclipse.swt.graphics.Color |
getLabelBackground() |
java.util.Date |
getLastSaveDate() |
java.lang.String |
getPrimaryAttribute() |
org.eclipse.swt.graphics.Color |
getRegisterContentBackground() |
org.eclipse.swt.graphics.Color |
getRegisterContentColor() |
org.eclipse.swt.graphics.Font |
getRegisterContentFont() |
org.eclipse.swt.graphics.Color |
getRegisterIndexBackground() |
org.eclipse.swt.graphics.Color |
getRegisterIndexColor() |
org.eclipse.swt.graphics.Font |
getRegisterIndexFont() |
protected java.lang.String |
getTableName() |
int |
getTitleAlignment() |
org.eclipse.swt.graphics.Color |
getTitleColor() |
int |
getTitleDirection() |
org.eclipse.swt.graphics.Font |
getTitleFont() |
java.lang.String |
getTitleText() |
java.lang.Integer |
getWidth() |
protected void |
insertCheck() |
boolean |
isBarVisible() |
boolean |
isIdVisible() |
void |
loadDefaults()
Läd die gespeicherten Defaultwerte aus
|
void |
setBarColor(org.eclipse.swt.graphics.Color color)
Setzt die Farbe der Linien
|
void |
setBarVisible(boolean visible)
Setzt die Sichbarkeit der Linien
|
void |
setContent(java.lang.String inhalt)
Setzt den Text des Hauptfeldes
|
void |
setContentAlignment(int alignment)
Setzt die Ausrichtung den Hauptfeldes (SWT.LEFT, SWT.CENTER, SWT.RIGHT)
|
void |
setContentColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Hauptfeldes
|
void |
setContentDirection(int direction)
Set the direction of the content
|
void |
setContentFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp des Hauptfeldes
|
void |
setFooter(java.lang.String fussnote)
Setzt den Text des Fußbereiches
|
void |
setFooterAlignment(int alignment)
Setzt die Ausrichtung des Fußbereiches
|
void |
setFooterColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Fußbereiches
|
void |
setFooterDirection(int direction)
Set the direction of the footer
|
void |
setFooterFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp des Fußbereiches
|
void |
setIdVisible(boolean visible)
Setzt die Sichbarkeit des ID-Feldes
|
void |
setLabelBackground(org.eclipse.swt.graphics.Color color)
Setzt die Hintergrundfarbe des Labels
|
void |
setLastSaveDate(java.util.Date datum)
Setzt das zuletzt geändert Datum
|
void |
setRegisterContentBackground(org.eclipse.swt.graphics.Color color)
Setzt den Hintergrundfarbe der Registerbeschreibungsfelder
|
void |
setRegisterContentColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe der Registerbeschreibungsfelder
|
void |
setRegisterContentFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp der Registerbeschreibungsfelder
|
void |
setRegisterIndexBackground(org.eclipse.swt.graphics.Color color)
Setzt den Hintergrundfarbe der Registerindexfelder
|
void |
setRegisterIndexColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe der Registerindexfelder
|
void |
setRegisterIndexFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp der Registerindexfelder
|
void |
setTitleAlignment(int alignment)
Setzt die Ausrichtung des Titelfeldes
|
void |
setTitleColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Titelfeldes
|
void |
setTitleDirection(int direction)
Set the direction of the title
|
void |
setTitleFont(org.eclipse.swt.graphics.Font font)
Setzt den Schirfttyp des Titelfeldes
|
void |
setTitleText(java.lang.String titel)
Setzt den Text des Titelfeldes
|
void |
setWidth(java.lang.Integer width)
Setzt die Breite des Labels
|
protected void |
updateCheck() |
addDeleteListener, addStoreListener, clear, delete, equals, getAttribute, getAttributeNames, getAttributeType, getForeignObject, getID, getIDField, getInsertSQL, getList, getListQuery, getLoadQuery, getService, getUpdateSQL, hasChanged, hasChanged, init, insert, isNewObject, load, overwrite, removeDeleteListener, removeStoreListener, setAttribute, setID, setService, store, transactionBegin, transactionCommit, transactionRollbackclone, exportObject, exportObject, exportObject, unexportObjectequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitaddDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListenerpublic OrdnerImpl()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic org.eclipse.swt.graphics.Color getBarColor()
throws java.rmi.RemoteException
getBarColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getBarColor()public java.lang.String getContent()
throws java.rmi.RemoteException
getContent in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContent()public int getContentAlignment()
throws java.rmi.RemoteException
getContentAlignment in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContentAlignment()public org.eclipse.swt.graphics.Color getContentColor()
throws java.rmi.RemoteException
getContentColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContentColor()public int getContentDirection()
throws java.rmi.RemoteException
getContentDirection in interface Ordnerjava.rmi.RemoteExceptionpublic org.eclipse.swt.graphics.Font getContentFont()
throws java.rmi.RemoteException
getContentFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContentFont()public java.lang.String getFooter()
throws java.rmi.RemoteException
getFooter in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooter()public int getFooterAlignment()
throws java.rmi.RemoteException
getFooterAlignment in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooterAlignment()public org.eclipse.swt.graphics.Color getFooterColor()
throws java.rmi.RemoteException
getFooterColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooterColor()public int getFooterDirection()
throws java.rmi.RemoteException
getFooterDirection in interface Ordnerjava.rmi.RemoteExceptionpublic org.eclipse.swt.graphics.Font getFooterFont()
throws java.rmi.RemoteException
getFooterFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooterFont()public de.willuhn.datasource.rmi.DBIterator<Register> getInhaltsverzeichniss() throws java.rmi.RemoteException
getInhaltsverzeichniss in interface Ordnerjava.rmi.RemoteExceptionOrdner.getInhaltsverzeichniss()public org.eclipse.swt.graphics.Color getLabelBackground()
throws java.rmi.RemoteException
getLabelBackground in interface Ordnerjava.rmi.RemoteExceptionOrdner.getLabelBackground()public java.util.Date getLastSaveDate()
throws java.rmi.RemoteException
getLastSaveDate in interface Ordnerjava.rmi.RemoteExceptionOrdner.getLastSaveDate()public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
getPrimaryAttribute in interface de.willuhn.datasource.GenericObjectgetPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObjectgetPrimaryAttribute in class de.willuhn.datasource.db.AbstractDBObjectjava.rmi.RemoteExceptionAbstractDBObject.getPrimaryAttribute()public org.eclipse.swt.graphics.Color getRegisterContentBackground()
throws java.rmi.RemoteException
getRegisterContentBackground in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterContentBackground()public org.eclipse.swt.graphics.Color getRegisterContentColor()
throws java.rmi.RemoteException
getRegisterContentColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterContentColor()public org.eclipse.swt.graphics.Font getRegisterContentFont()
throws java.rmi.RemoteException
getRegisterContentFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterContentFont()public org.eclipse.swt.graphics.Color getRegisterIndexBackground()
throws java.rmi.RemoteException
getRegisterIndexBackground in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterIndexBackground()public org.eclipse.swt.graphics.Color getRegisterIndexColor()
throws java.rmi.RemoteException
getRegisterIndexColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterIndexColor()public org.eclipse.swt.graphics.Font getRegisterIndexFont()
throws java.rmi.RemoteException
getRegisterIndexFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterIndexFont()public int getTitleAlignment()
throws java.rmi.RemoteException
getTitleAlignment in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitleAlignment()public org.eclipse.swt.graphics.Color getTitleColor()
throws java.rmi.RemoteException
getTitleColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitleColor()public int getTitleDirection()
throws java.rmi.RemoteException
getTitleDirection in interface Ordnerjava.rmi.RemoteExceptionpublic org.eclipse.swt.graphics.Font getTitleFont()
throws java.rmi.RemoteException
getTitleFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitleFont()public java.lang.String getTitleText()
throws java.rmi.RemoteException
getTitleText in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitleText()public java.lang.Integer getWidth()
throws java.rmi.RemoteException
getWidth in interface Ordnerjava.rmi.RemoteExceptionOrdner.getWidth()public boolean isBarVisible()
throws java.rmi.RemoteException
isBarVisible in interface Ordnerjava.rmi.RemoteExceptionOrdner.isBarVisible()public boolean isIdVisible()
throws java.rmi.RemoteException
isIdVisible in interface Ordnerjava.rmi.RemoteExceptionOrdner.isIdVisible()public void loadDefaults()
throws java.rmi.RemoteException
OrdnerloadDefaults in interface Ordnerjava.rmi.RemoteExceptionOrdner.loadDefaults()public void setBarColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetBarColor in interface Ordnercolor - die Farbe der Linienjava.rmi.RemoteExceptionOrdner.setBarColor(org.eclipse.swt.graphics.Color)public void setBarVisible(boolean visible)
throws java.rmi.RemoteException
OrdnersetBarVisible in interface Ordnervisible - die Sichbarkeit der Linienjava.rmi.RemoteExceptionOrdner.setBarVisible(boolean)public void setContent(java.lang.String inhalt)
throws java.rmi.RemoteException
OrdnersetContent in interface Ordnerinhalt - den Text des Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContent(java.lang.String)public void setContentAlignment(int alignment)
throws java.rmi.RemoteException
OrdnersetContentAlignment in interface Ordneralignment - die Ausrichtung den Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContentAlignment(int)public void setContentColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetContentColor in interface Ordnercolor - die Textfarbe des Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContentColor(org.eclipse.swt.graphics.Color)public void setContentDirection(int direction)
throws java.rmi.RemoteException
OrdnersetContentDirection in interface Ordnerjava.rmi.RemoteExceptionpublic void setContentFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetContentFont in interface Ordnerfont - den Schrifttyp des Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContentFont(org.eclipse.swt.graphics.Font)public void setFooter(java.lang.String fussnote)
throws java.rmi.RemoteException
OrdnersetFooter in interface Ordnerfussnote - den Text des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooter(java.lang.String)public void setFooterAlignment(int alignment)
throws java.rmi.RemoteException
OrdnersetFooterAlignment in interface Ordneralignment - die Ausrichtung des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooterAlignment(int)public void setFooterColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetFooterColor in interface Ordnercolor - die Textfarbe des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooterColor(org.eclipse.swt.graphics.Color)public void setFooterDirection(int direction)
throws java.rmi.RemoteException
OrdnersetFooterDirection in interface Ordnerjava.rmi.RemoteExceptionpublic void setFooterFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetFooterFont in interface Ordnerfont - den Schrifttyp des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooterFont(org.eclipse.swt.graphics.Font)public void setIdVisible(boolean visible)
throws java.rmi.RemoteException
OrdnersetIdVisible in interface Ordnervisible - die Sichbarkeit des ID-Feldesjava.rmi.RemoteExceptionOrdner.setIdVisible(boolean)public void setLabelBackground(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetLabelBackground in interface Ordnercolor - die Hintergrundfarbe des Labelsjava.rmi.RemoteExceptionOrdner.setLabelBackground(org.eclipse.swt.graphics.Color)public void setLastSaveDate(java.util.Date datum)
throws java.rmi.RemoteException
OrdnersetLastSaveDate in interface Ordnerdatum - das zuletzt geändert Datumjava.rmi.RemoteExceptionOrdner.setLastSaveDate(java.util.Date)public void setRegisterContentBackground(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterContentBackground in interface Ordnercolor - den Hintergrundfarbe der Registerbeschreibungsfelderjava.rmi.RemoteExceptionOrdner.setRegisterContentBackground(org.eclipse.swt.graphics.Color)public void setRegisterContentColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterContentColor in interface Ordnercolor - die Textfarbe der Registerbeschreibungsfelderjava.rmi.RemoteExceptionOrdner.setRegisterContentColor(org.eclipse.swt.graphics.Color)public void setRegisterContentFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetRegisterContentFont in interface Ordnerfont - den Schrifttyp der Registerbeschreibungsfelderjava.rmi.RemoteExceptionOrdner.setRegisterContentFont(org.eclipse.swt.graphics.Font)public void setRegisterIndexBackground(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterIndexBackground in interface Ordnercolor - den Hintergrundfarbe der Registerindexfelderjava.rmi.RemoteExceptionOrdner.setRegisterIndexBackground(org.eclipse.swt.graphics.Color)public void setRegisterIndexColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterIndexColor in interface Ordnercolor - die Textfarbe der Registerindexfelderjava.rmi.RemoteExceptionOrdner.setRegisterIndexColor(org.eclipse.swt.graphics.Color)public void setRegisterIndexFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetRegisterIndexFont in interface Ordnerfont - den Schrifttyp der Registerindexfelderjava.rmi.RemoteExceptionOrdner.setRegisterIndexFont(org.eclipse.swt.graphics.Font)public void setTitleAlignment(int alignment)
throws java.rmi.RemoteException
OrdnersetTitleAlignment in interface Ordneralignment - die Ausrichtung des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitleAlignment(int)public void setTitleColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetTitleColor in interface Ordnercolor - die Textfarbe des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitleColor(org.eclipse.swt.graphics.Color)public void setTitleDirection(int direction)
throws java.rmi.RemoteException
OrdnersetTitleDirection in interface Ordnerjava.rmi.RemoteExceptionpublic void setTitleFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetTitleFont in interface Ordnerfont - den Schrifttyp des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitleFont(org.eclipse.swt.graphics.Font)public void setTitleText(java.lang.String titel)
throws java.rmi.RemoteException
OrdnersetTitleText in interface Ordnertitel - den Text des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitleText(java.lang.String)public void setWidth(java.lang.Integer width)
throws java.rmi.RemoteException
OrdnersetWidth in interface Ordnerwidth - die Breite des Labelsjava.rmi.RemoteExceptionOrdner.setWidth(java.lang.Integer)protected void deleteCheck()
throws de.willuhn.util.ApplicationException
deleteCheck in class de.willuhn.datasource.db.AbstractDBObjectde.willuhn.util.ApplicationExceptionAbstractDBObject.deleteCheck()protected java.lang.String getTableName()
getTableName in class de.willuhn.datasource.db.AbstractDBObjectAbstractDBObject.getTableName()protected void insertCheck()
throws de.willuhn.util.ApplicationException
insertCheck in class de.willuhn.datasource.db.AbstractDBObjectde.willuhn.util.ApplicationExceptionAbstractDBObject.insertCheck()protected void updateCheck()
throws de.willuhn.util.ApplicationException
updateCheck in class de.willuhn.datasource.db.AbstractDBObjectde.willuhn.util.ApplicationExceptionAbstractDBObject.updateCheck()