de.guibuilder.framework
Class GuiCalendarPopup

java.lang.Object
  extended by de.guibuilder.framework.GuiMember
      extended by de.guibuilder.framework.GuiElement
          extended by de.guibuilder.framework.GuiComponent
              extended by de.guibuilder.framework.GuiText
                  extended by de.guibuilder.framework.GuiDate
                      extended by de.guibuilder.framework.GuiCalendarPopup
All Implemented Interfaces:
IDatasetComponent, IDatasetMember, MemberAble, MemberPopupAble, TableColumnAble, TableTextColumn, java.awt.event.ActionListener, java.util.EventListener

public class GuiCalendarPopup
extends GuiDate
implements java.awt.event.ActionListener

Author:
peter

Field Summary
 
Fields inherited from class de.guibuilder.framework.GuiComponent
BOOLEAN, DATA_TYPE_NAMES, DATE, ENUM, INTEGER, MULTILINE, NUMBER, STRING, TABLE, TIME, TREE
 
Fields inherited from class de.guibuilder.framework.GuiMember
GUI_ACTION, GUI_COMPONENT, GUI_CONTAINER, GUI_TABLE, GUI_TREE, GUI_TYPE_NAMES, OID
 
Constructor Summary
GuiCalendarPopup(GuiWindow owner)
           
GuiCalendarPopup(java.lang.String label, GuiWindow owner)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 javax.swing.JComponent getJComponent()
          Liefert die Swing-Komponente zu diesem Oberflächen-Objekt (Delegation).
 void setEnabled(boolean b)
          Setzt die Komponente auch "nur anzeigen" wenn "true" übergeben wird: Hintergrundfarbe auf hellgrau setzen, nicht editierbar, kein TabStop.
 void setValue(java.util.Date d)
           
 void setValue(long d)
           
 void setValue(java.lang.Long d)
           
 void setValue(java.lang.Object o)
          Setzt den Inhalt der Componente.
 
Methods inherited from class de.guibuilder.framework.GuiDate
getDataType, getDefaultFormat, getFormat, getTag, getValueClass, getValueDate, getValueSqlDate, makeFormat, setDefaultFormat, setFormat, setText
 
Methods inherited from class de.guibuilder.framework.GuiText
d_click, getHorizontalAlignment, getRegexp, getText, getTextField, getUnformatedValue, getValue, isEnabled, isValid, lostFocus, makeFormat, reset, setColumns, setHorizontalAlignment, setMsgKeyTyped, setRegexp, setValue
 
Methods inherited from class de.guibuilder.framework.GuiComponent
commitChanges, getDatasetValues, getDatasetValues, getDataTypeName, getGuiComponent, getGuiType, getLabel, getMaxlen, getMinlen, isModified, isNotnull, postProc, setDatasetValues, setMaxlen, setMinlen, setModified, setNotnull, toString, verify
 
Methods inherited from class de.guibuilder.framework.GuiElement
getFileName, getHint, getMsgChange, getMsgClick, getMsgDblClick, getParentTable, getRootPane, hasTabstop, requestFocus, setHint, setMsgChange, setMsgClick, setMsgDblClick, setMsgLostFocus, setParentTable, setTabstop
 
Methods inherited from class de.guibuilder.framework.GuiMember
addSetter, click, getAwtComponent, getBackground, getConstraints, getControler, getController, getDropTarget, getElementName, getElementPath, getFont, getForeground, getFullName, getGuiParent, getGuiTypeName, getMaximumSize, getMemberElement, getMinimumSize, getMsgDragEnter, getMsgDragExit, getMsgDragOver, getMsgDrop, getMsgFileDrop, getMsgMouseOver, getMsgPopup, getName, getOid, getParentNames, getParentTab, getPopupMenu, getPreferences, getPreferredSize, getRef, getToolTipText, getUserObject, isRootElement, isVisible, setBackground, setConstraints, setControler, setController, setDrag, setElementName, setFont, setForeground, setGuiParent, setLabel, setMaximumSize, setMinimumSize, setMsgDragEnter, setMsgDragExit, setMsgDragOver, setMsgDrop, setMsgFileDrop, setMsgMouseMoved, setMsgMouseOver, setMsgPopup, setName, setOid, setPopupMenu, setPreferences, setPreferredSize, setRef, setStateAttributes, setToolTipText, setUserObject, setVisible, showPopupMenu, showPopupMenu
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.guibuilder.framework.TableTextColumn
hasTabstop, postProc
 
Methods inherited from interface de.guibuilder.framework.TableColumnAble
getBackground, getElementName, getFont, getForeground, getGuiComponent, getMaximumSize, getMinimumSize, getName, getParentTable, getToolTipText, isVisible, setGuiParent, setParentTable, setToolTipText
 
Methods inherited from interface de.guibuilder.framework.IDatasetMember
getElementName, getElementPath, isRootElement, setElementName
 

Constructor Detail

GuiCalendarPopup

public GuiCalendarPopup(GuiWindow owner)

GuiCalendarPopup

public GuiCalendarPopup(java.lang.String label,
                        GuiWindow owner)
Method Detail

getJComponent

public javax.swing.JComponent getJComponent()
Description copied from class: GuiMember
Liefert die Swing-Komponente zu diesem Oberflächen-Objekt (Delegation).

Es ist möglich, auf die jeweilige Swing-Klasse (JCombo, JTextField, JPanel, ...) zu casten; die Swing-Methoden können so genutzt werden.

Bei einem HiddenField und OptionGroup wird null geliefert!

Specified by:
getJComponent in interface TableColumnAble
Overrides:
getJComponent in class GuiText
Returns:
JTextField

setValue

public final void setValue(java.lang.Object o)
Description copied from class: GuiText
Setzt den Inhalt der Componente. Muß ein String sein; "null" wird zu Leerstring. Der Zustand modified wird auf "false" gesetzt.

Overrides:
setValue in class GuiText
See Also:
GuiComponent.setModified(boolean), GuiComponent.isModified()

setValue

public final void setValue(java.util.Date d)
Overrides:
setValue in class GuiDate

setValue

public final void setValue(long d)
Overrides:
setValue in class GuiDate

setValue

public final void setValue(java.lang.Long d)
Overrides:
setValue in class GuiDate

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

setEnabled

public final void setEnabled(boolean b)
Description copied from class: GuiText
Setzt die Komponente auch "nur anzeigen" wenn "true" übergeben wird: Hintergrundfarbe auf hellgrau setzen, nicht editierbar, kein TabStop.

Wenn die Zwischenablage auch bei enable="false" genutzt werden soll, dann nachträglich tabstop="true" setzen.

Specified by:
setEnabled in interface TableColumnAble
Overrides:
setEnabled in class GuiText