public class SimpleTimeEditorModel
extends org.jdesktop.beans.AbstractSerializableBean
| Modifier and Type | Field and Description |
|---|---|
protected Serializable |
bean
Bean where to push data.
|
protected Date |
date
Real date which contains the edited time.
|
protected boolean |
isSecondEditable
Is second editable ?
|
protected String |
property
Property of the bean to use.
|
static String |
PROPERTY_BEAN |
static String |
PROPERTY_DATE |
static String |
PROPERTY_PROPERTY |
static String |
PROPERTY_SECOND_EDITABLE |
static String |
PROPERTY_TIME_MODEL |
protected Integer |
timeModel
Time model in seconds.
|
| Constructor and Description |
|---|
SimpleTimeEditorModel() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getBean() |
Date |
getDate() |
int |
getHour() |
int |
getMinute() |
String |
getProperty() |
int |
getSecond() |
Integer |
getTimeModel() |
boolean |
isSecondEditable() |
void |
setBean(Serializable bean) |
void |
setDate(Date date) |
void |
setProperty(String property) |
void |
setSecondEditable(boolean isSecondEditable) |
void |
setTimeModel(Integer timeModel) |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_DATE
public static final String PROPERTY_TIME_MODEL
public static final String PROPERTY_PROPERTY
public static final String PROPERTY_BEAN
public static final String PROPERTY_SECOND_EDITABLE
protected Serializable bean
protected String property
protected Integer timeModel
protected Date date
protected boolean isSecondEditable
public Serializable getBean()
public void setBean(Serializable bean)
public String getProperty()
public void setProperty(String property)
public Date getDate()
public void setDate(Date date)
public Integer getTimeModel()
public void setTimeModel(Integer timeModel)
public int getSecond()
public int getMinute()
public int getHour()
public void setSecondEditable(boolean isSecondEditable)
public boolean isSecondEditable()
Copyright © 2008–2019 Code Lutin. All rights reserved.