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() |
org.eclipse.swt.graphics.Font |
getContentFont() |
java.util.Date |
getDate() |
java.lang.String |
getFooter() |
int |
getFooterAlignment() |
org.eclipse.swt.graphics.Color |
getFooterColor() |
org.eclipse.swt.graphics.Font |
getFooterFont() |
de.willuhn.datasource.rmi.DBIterator<Register> |
getInhaltsverzeichniss() |
org.eclipse.swt.graphics.Color |
getLabelBackground() |
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() |
java.lang.String |
getTitel() |
int |
getTitelAlignment() |
org.eclipse.swt.graphics.Color |
getTitelColor() |
org.eclipse.swt.graphics.Font |
getTitelFont() |
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 |
setContentFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp des Hauptfeldes
|
void |
setDate(java.util.Date datum)
Setzt das zuletzt geändert Datum
|
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 |
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 |
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 |
setTitel(java.lang.String titel)
Setzt den Text des Titelfeldes
|
void |
setTitelAlignment(int alignment)
Setzt die Ausrichtung des Titelfeldes
|
void |
setTitelColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Titelfeldes
|
void |
setTitelFont(org.eclipse.swt.graphics.Font font)
Setzt den Schirfttyp 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, transactionRollback
clone, exportObject, exportObject, exportObject, unexportObject
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
addDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListener
public OrdnerImpl() throws java.rmi.RemoteException
java.rmi.RemoteException
public org.eclipse.swt.graphics.Color getBarColor() throws java.rmi.RemoteException
getBarColor
in interface Ordner
java.rmi.RemoteException
Ordner.getBarColor()
public java.lang.String getContent() throws java.rmi.RemoteException
getContent
in interface Ordner
java.rmi.RemoteException
Ordner.getContent()
public int getContentAlignment() throws java.rmi.RemoteException
getContentAlignment
in interface Ordner
java.rmi.RemoteException
Ordner.getContentAlignment()
public org.eclipse.swt.graphics.Color getContentColor() throws java.rmi.RemoteException
getContentColor
in interface Ordner
java.rmi.RemoteException
Ordner.getContentColor()
public org.eclipse.swt.graphics.Font getContentFont() throws java.rmi.RemoteException
getContentFont
in interface Ordner
java.rmi.RemoteException
Ordner.getContentFont()
public java.util.Date getDate() throws java.rmi.RemoteException
getDate
in interface Ordner
java.rmi.RemoteException
Ordner.getDate()
public java.lang.String getFooter() throws java.rmi.RemoteException
getFooter
in interface Ordner
java.rmi.RemoteException
Ordner.getFooter()
public int getFooterAlignment() throws java.rmi.RemoteException
getFooterAlignment
in interface Ordner
java.rmi.RemoteException
Ordner.getFooterAlignment()
public org.eclipse.swt.graphics.Color getFooterColor() throws java.rmi.RemoteException
getFooterColor
in interface Ordner
java.rmi.RemoteException
Ordner.getFooterColor()
public org.eclipse.swt.graphics.Font getFooterFont() throws java.rmi.RemoteException
getFooterFont
in interface Ordner
java.rmi.RemoteException
Ordner.getFooterFont()
public de.willuhn.datasource.rmi.DBIterator<Register> getInhaltsverzeichniss() throws java.rmi.RemoteException
getInhaltsverzeichniss
in interface Ordner
java.rmi.RemoteException
Ordner.getInhaltsverzeichniss()
public org.eclipse.swt.graphics.Color getLabelBackground() throws java.rmi.RemoteException
getLabelBackground
in interface Ordner
java.rmi.RemoteException
Ordner.getLabelBackground()
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
getPrimaryAttribute
in interface de.willuhn.datasource.GenericObject
getPrimaryAttribute
in interface de.willuhn.datasource.rmi.DBObject
getPrimaryAttribute
in class de.willuhn.datasource.db.AbstractDBObject
java.rmi.RemoteException
AbstractDBObject.getPrimaryAttribute()
public org.eclipse.swt.graphics.Color getRegisterContentBackground() throws java.rmi.RemoteException
getRegisterContentBackground
in interface Ordner
java.rmi.RemoteException
Ordner.getRegisterContentBackground()
public org.eclipse.swt.graphics.Color getRegisterContentColor() throws java.rmi.RemoteException
getRegisterContentColor
in interface Ordner
java.rmi.RemoteException
Ordner.getRegisterContentColor()
public org.eclipse.swt.graphics.Font getRegisterContentFont() throws java.rmi.RemoteException
getRegisterContentFont
in interface Ordner
java.rmi.RemoteException
Ordner.getRegisterContentFont()
public org.eclipse.swt.graphics.Color getRegisterIndexBackground() throws java.rmi.RemoteException
getRegisterIndexBackground
in interface Ordner
java.rmi.RemoteException
Ordner.getRegisterIndexBackground()
public org.eclipse.swt.graphics.Color getRegisterIndexColor() throws java.rmi.RemoteException
getRegisterIndexColor
in interface Ordner
java.rmi.RemoteException
Ordner.getRegisterIndexColor()
public org.eclipse.swt.graphics.Font getRegisterIndexFont() throws java.rmi.RemoteException
getRegisterIndexFont
in interface Ordner
java.rmi.RemoteException
Ordner.getRegisterIndexFont()
public java.lang.String getTitel() throws java.rmi.RemoteException
getTitel
in interface Ordner
java.rmi.RemoteException
Ordner.getTitel()
public int getTitelAlignment() throws java.rmi.RemoteException
getTitelAlignment
in interface Ordner
java.rmi.RemoteException
Ordner.getTitelAlignment()
public org.eclipse.swt.graphics.Color getTitelColor() throws java.rmi.RemoteException
getTitelColor
in interface Ordner
java.rmi.RemoteException
Ordner.getTitelColor()
public org.eclipse.swt.graphics.Font getTitelFont() throws java.rmi.RemoteException
getTitelFont
in interface Ordner
java.rmi.RemoteException
Ordner.getTitelFont()
public java.lang.Integer getWidth() throws java.rmi.RemoteException
getWidth
in interface Ordner
java.rmi.RemoteException
Ordner.getWidth()
public boolean isBarVisible() throws java.rmi.RemoteException
isBarVisible
in interface Ordner
java.rmi.RemoteException
Ordner.isBarVisible()
public boolean isIdVisible() throws java.rmi.RemoteException
isIdVisible
in interface Ordner
java.rmi.RemoteException
Ordner.isIdVisible()
public void loadDefaults() throws java.rmi.RemoteException
Ordner
loadDefaults
in interface Ordner
java.rmi.RemoteException
Ordner.loadDefaults()
public void setBarColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setBarColor
in interface Ordner
color
- die Farbe der Linienjava.rmi.RemoteException
Ordner.setBarColor(org.eclipse.swt.graphics.Color)
public void setBarVisible(boolean visible) throws java.rmi.RemoteException
Ordner
setBarVisible
in interface Ordner
visible
- die Sichbarkeit der Linienjava.rmi.RemoteException
Ordner.setBarVisible(boolean)
public void setContent(java.lang.String inhalt) throws java.rmi.RemoteException
Ordner
setContent
in interface Ordner
inhalt
- den Text des Hauptfeldesjava.rmi.RemoteException
Ordner.setContent(java.lang.String)
public void setContentAlignment(int alignment) throws java.rmi.RemoteException
Ordner
setContentAlignment
in interface Ordner
alignment
- die Ausrichtung den Hauptfeldesjava.rmi.RemoteException
Ordner.setContentAlignment(int)
public void setContentColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setContentColor
in interface Ordner
color
- die Textfarbe des Hauptfeldesjava.rmi.RemoteException
Ordner.setContentColor(org.eclipse.swt.graphics.Color)
public void setContentFont(org.eclipse.swt.graphics.Font font) throws java.rmi.RemoteException
Ordner
setContentFont
in interface Ordner
font
- den Schrifttyp des Hauptfeldesjava.rmi.RemoteException
Ordner.setContentFont(org.eclipse.swt.graphics.Font)
public void setDate(java.util.Date datum) throws java.rmi.RemoteException
Ordner
setDate
in interface Ordner
datum
- das zuletzt geändert Datumjava.rmi.RemoteException
Ordner.setDate(java.util.Date)
public void setFooter(java.lang.String fussnote) throws java.rmi.RemoteException
Ordner
setFooter
in interface Ordner
fussnote
- den Text des Fußbereichesjava.rmi.RemoteException
Ordner.setFooter(java.lang.String)
public void setFooterAlignment(int alignment) throws java.rmi.RemoteException
Ordner
setFooterAlignment
in interface Ordner
alignment
- die Ausrichtung des Fußbereichesjava.rmi.RemoteException
Ordner.setFooterAlignment(int)
public void setFooterColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setFooterColor
in interface Ordner
color
- die Textfarbe des Fußbereichesjava.rmi.RemoteException
Ordner.setFooterColor(org.eclipse.swt.graphics.Color)
public void setFooterFont(org.eclipse.swt.graphics.Font font) throws java.rmi.RemoteException
Ordner
setFooterFont
in interface Ordner
font
- den Schrifttyp des Fußbereichesjava.rmi.RemoteException
Ordner.setFooterFont(org.eclipse.swt.graphics.Font)
public void setIdVisible(boolean visible) throws java.rmi.RemoteException
Ordner
setIdVisible
in interface Ordner
visible
- die Sichbarkeit des ID-Feldesjava.rmi.RemoteException
Ordner.setIdVisible(boolean)
public void setLabelBackground(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setLabelBackground
in interface Ordner
color
- die Hintergrundfarbe des Labelsjava.rmi.RemoteException
Ordner.setLabelBackground(org.eclipse.swt.graphics.Color)
public void setRegisterContentBackground(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setRegisterContentBackground
in interface Ordner
color
- den Hintergrundfarbe der Registerbeschreibungsfelderjava.rmi.RemoteException
Ordner.setRegisterContentBackground(org.eclipse.swt.graphics.Color)
public void setRegisterContentColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setRegisterContentColor
in interface Ordner
color
- die Textfarbe der Registerbeschreibungsfelderjava.rmi.RemoteException
Ordner.setRegisterContentColor(org.eclipse.swt.graphics.Color)
public void setRegisterContentFont(org.eclipse.swt.graphics.Font font) throws java.rmi.RemoteException
Ordner
setRegisterContentFont
in interface Ordner
font
- den Schrifttyp der Registerbeschreibungsfelderjava.rmi.RemoteException
Ordner.setRegisterContentFont(org.eclipse.swt.graphics.Font)
public void setRegisterIndexBackground(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setRegisterIndexBackground
in interface Ordner
color
- den Hintergrundfarbe der Registerindexfelderjava.rmi.RemoteException
Ordner.setRegisterIndexBackground(org.eclipse.swt.graphics.Color)
public void setRegisterIndexColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setRegisterIndexColor
in interface Ordner
color
- die Textfarbe der Registerindexfelderjava.rmi.RemoteException
Ordner.setRegisterIndexColor(org.eclipse.swt.graphics.Color)
public void setRegisterIndexFont(org.eclipse.swt.graphics.Font font) throws java.rmi.RemoteException
Ordner
setRegisterIndexFont
in interface Ordner
font
- den Schrifttyp der Registerindexfelderjava.rmi.RemoteException
Ordner.setRegisterIndexFont(org.eclipse.swt.graphics.Font)
public void setTitel(java.lang.String titel) throws java.rmi.RemoteException
Ordner
setTitel
in interface Ordner
titel
- den Text des Titelfeldesjava.rmi.RemoteException
Ordner.setTitel(java.lang.String)
public void setTitelAlignment(int alignment) throws java.rmi.RemoteException
Ordner
setTitelAlignment
in interface Ordner
alignment
- die Ausrichtung des Titelfeldesjava.rmi.RemoteException
Ordner.setTitelAlignment(int)
public void setTitelColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setTitelColor
in interface Ordner
color
- die Textfarbe des Titelfeldesjava.rmi.RemoteException
Ordner.setTitelColor(org.eclipse.swt.graphics.Color)
public void setTitelFont(org.eclipse.swt.graphics.Font font) throws java.rmi.RemoteException
Ordner
setTitelFont
in interface Ordner
font
- den Schrifttyp des Titelfeldesjava.rmi.RemoteException
Ordner.setTitelFont(org.eclipse.swt.graphics.Font)
public void setWidth(java.lang.Integer width) throws java.rmi.RemoteException
Ordner
setWidth
in interface Ordner
width
- die Breite des Labelsjava.rmi.RemoteException
Ordner.setWidth(java.lang.Integer)
protected void deleteCheck() throws de.willuhn.util.ApplicationException
deleteCheck
in class de.willuhn.datasource.db.AbstractDBObject
de.willuhn.util.ApplicationException
AbstractDBObject.deleteCheck()
protected java.lang.String getTableName()
getTableName
in class de.willuhn.datasource.db.AbstractDBObject
AbstractDBObject.getTableName()
protected void insertCheck() throws de.willuhn.util.ApplicationException
insertCheck
in class de.willuhn.datasource.db.AbstractDBObject
de.willuhn.util.ApplicationException
AbstractDBObject.insertCheck()
protected void updateCheck() throws de.willuhn.util.ApplicationException
updateCheck
in class de.willuhn.datasource.db.AbstractDBObject
de.willuhn.util.ApplicationException
AbstractDBObject.updateCheck()