| |
|
| java.lang.Object org.millstone.base.ui.AbstractComponent org.millstone.base.ui.AbstractField org.millstone.base.ui.DateField
Constructor Summary | |
public | DateField() Constructs an empty DateField with no caption. | public | DateField(String caption) Constructs an empty DateField with caption. | public | DateField(String caption, Property dataSource) Constructs a new DateField that's bound to the specified
Property and has the given caption String . | public | DateField(Property dataSource) Constructs a new DateField that's bound to the specified
Property and has no caption. | public | DateField(String caption, Date value) Constructs a new DateField with the given caption and
initial text contents. |
RESOLUTION_DAY | final public static int RESOLUTION_DAY(Code) | | Resolution identifier: days.
|
RESOLUTION_HOUR | final public static int RESOLUTION_HOUR(Code) | | Resolution identifier: hours.
|
RESOLUTION_MIN | final public static int RESOLUTION_MIN(Code) | | Resolution identifier: minutes.
|
RESOLUTION_MONTH | final public static int RESOLUTION_MONTH(Code) | | Resolution identifier: months.
|
RESOLUTION_MSEC | final public static int RESOLUTION_MSEC(Code) | | Resolution identifier: milliseconds
|
RESOLUTION_SEC | final public static int RESOLUTION_SEC(Code) | | Resolution identifier: seconds.
|
RESOLUTION_YEAR | final public static int RESOLUTION_YEAR(Code) | | Resolution identifier: years.
|
DateField | public DateField()(Code) | | Constructs an empty DateField with no caption.
|
DateField | public DateField(String caption)(Code) | | Constructs an empty DateField with caption.
Parameters: caption - The caption of the datefield. |
DateField | public DateField(String caption, Property dataSource)(Code) | | Constructs a new DateField that's bound to the specified
Property and has the given caption String .
Parameters: caption - caption String for the editor Parameters: dataSource - the Property to be edited with this editor |
DateField | public DateField(Property dataSource) throws IllegalArgumentException(Code) | | Constructs a new DateField that's bound to the specified
Property and has no caption.
Parameters: dataSource - the Property to be edited with this editor |
DateField | public DateField(String caption, Date value)(Code) | | Constructs a new DateField with the given caption and
initial text contents. The editor constructed this way will not be bound
to a Property unless
org.millstone.base.data.Property.Viewer.setPropertyDataSource(Property) is called to bind it.
Parameters: caption - caption String for the editor Parameters: text - initial text content of the editor |
changeVariables | public void changeVariables(Object source, Map variables)(Code) | | |
getResolution | public int getResolution()(Code) | | Returns the resolution.
int |
setPropertyDataSource | public void setPropertyDataSource(Property newDataSource)(Code) | | Set DateField datasource. Datasource type must assignable to Date.
See Also: org.millstone.base.data.Property.Viewer.setPropertyDataSource(Property) |
setResolution | public void setResolution(int resolution)(Code) | | Sets the resolution of the DateField
Parameters: resolution - The resolution to set |
Methods inherited from org.millstone.base.ui.AbstractComponent | public void addListener(RepaintRequestListener listener)(Code)(Java Doc) public void addListener(Class eventType, Object object, Method method)(Code)(Java Doc) public void addListener(Class eventType, Object object, String methodName)(Code)(Java Doc) public void addListener(Component.Listener listener)(Code)(Java Doc) public void attach()(Code)(Java Doc) public void changeVariables(Object source, Map variables)(Code)(Java Doc) public void childRequestedRepaint(Collection alreadyNotified)(Code)(Java Doc) public void dependsOn(VariableOwner depended)(Code)(Java Doc) public void detach()(Code)(Java Doc) protected void fireComponentErrorEvent()(Code)(Java Doc) protected void fireComponentEvent()(Code)(Java Doc) protected void fireEvent(Component.Event event)(Code)(Java Doc) public Application getApplication()(Code)(Java Doc) public String getCaption()(Code)(Java Doc) public ErrorMessage getComponentError()(Code)(Java Doc) public Object getData()(Code)(Java Doc) public String getDescription()(Code)(Java Doc) public Set getDirectDependencies()(Code)(Java Doc) public ErrorMessage getErrorMessage()(Code)(Java Doc) public Resource getIcon()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Component getParent()(Code)(Java Doc) public String getStyle()(Code)(Java Doc) abstract public String getTag()(Code)(Java Doc) public Window getWindow()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isImmediate()(Code)(Java Doc) public boolean isReadOnly()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) final public void paint(PaintTarget target) throws PaintException(Code)(Java Doc) public void paintContent(PaintTarget target) throws PaintException(Code)(Java Doc) public void removeDirectDependency(VariableOwner depended)(Code)(Java Doc) public void removeListener(RepaintRequestListener listener)(Code)(Java Doc) public void removeListener(Class eventType, Object target)(Code)(Java Doc) public void removeListener(Class eventType, Object target, Method method)(Code)(Java Doc) public void removeListener(Class eventType, Object target, String methodName)(Code)(Java Doc) public void removeListener(Component.Listener listener)(Code)(Java Doc) public void requestRepaint()(Code)(Java Doc) public void requestRepaintRequests()(Code)(Java Doc) public void setCaption(String caption)(Code)(Java Doc) public void setComponentError(ErrorMessage componentError)(Code)(Java Doc) public void setData(Object data)(Code)(Java Doc) public void setDescription(String description)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setIcon(Resource icon)(Code)(Java Doc) public void setImmediate(boolean immediate)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setParent(Component parent)(Code)(Java Doc) public void setReadOnly(boolean readOnly)(Code)(Java Doc) public void setStyle(String style)(Code)(Java Doc) public void setVisible(boolean visible)(Code)(Java Doc)
|
|
|
|