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, 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 int getContentDirection() throws java.rmi.RemoteException
getContentDirection
in interface Ordner
java.rmi.RemoteException
public org.eclipse.swt.graphics.Font getContentFont() throws java.rmi.RemoteException
getContentFont
in interface Ordner
java.rmi.RemoteException
Ordner.getContentFont()
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 int getFooterDirection() throws java.rmi.RemoteException
getFooterDirection
in interface Ordner
java.rmi.RemoteException
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.util.Date getLastSaveDate() throws java.rmi.RemoteException
getLastSaveDate
in interface Ordner
java.rmi.RemoteException
Ordner.getLastSaveDate()
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 int getTitleAlignment() throws java.rmi.RemoteException
getTitleAlignment
in interface Ordner
java.rmi.RemoteException
Ordner.getTitleAlignment()
public org.eclipse.swt.graphics.Color getTitleColor() throws java.rmi.RemoteException
getTitleColor
in interface Ordner
java.rmi.RemoteException
Ordner.getTitleColor()
public int getTitleDirection() throws java.rmi.RemoteException
getTitleDirection
in interface Ordner
java.rmi.RemoteException
public org.eclipse.swt.graphics.Font getTitleFont() throws java.rmi.RemoteException
getTitleFont
in interface Ordner
java.rmi.RemoteException
Ordner.getTitleFont()
public java.lang.String getTitleText() throws java.rmi.RemoteException
getTitleText
in interface Ordner
java.rmi.RemoteException
Ordner.getTitleText()
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 setContentDirection(int direction) throws java.rmi.RemoteException
Ordner
setContentDirection
in interface Ordner
java.rmi.RemoteException
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 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 setFooterDirection(int direction) throws java.rmi.RemoteException
Ordner
setFooterDirection
in interface Ordner
java.rmi.RemoteException
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 setLastSaveDate(java.util.Date datum) throws java.rmi.RemoteException
Ordner
setLastSaveDate
in interface Ordner
datum
- das zuletzt geändert Datumjava.rmi.RemoteException
Ordner.setLastSaveDate(java.util.Date)
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 setTitleAlignment(int alignment) throws java.rmi.RemoteException
Ordner
setTitleAlignment
in interface Ordner
alignment
- die Ausrichtung des Titelfeldesjava.rmi.RemoteException
Ordner.setTitleAlignment(int)
public void setTitleColor(org.eclipse.swt.graphics.Color color) throws java.rmi.RemoteException
Ordner
setTitleColor
in interface Ordner
color
- die Textfarbe des Titelfeldesjava.rmi.RemoteException
Ordner.setTitleColor(org.eclipse.swt.graphics.Color)
public void setTitleDirection(int direction) throws java.rmi.RemoteException
Ordner
setTitleDirection
in interface Ordner
java.rmi.RemoteException
public void setTitleFont(org.eclipse.swt.graphics.Font font) throws java.rmi.RemoteException
Ordner
setTitleFont
in interface Ordner
font
- den Schrifttyp des Titelfeldesjava.rmi.RemoteException
Ordner.setTitleFont(org.eclipse.swt.graphics.Font)
public void setTitleText(java.lang.String titel) throws java.rmi.RemoteException
Ordner
setTitleText
in interface Ordner
titel
- den Text des Titelfeldesjava.rmi.RemoteException
Ordner.setTitleText(java.lang.String)
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()