|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.demo.feature.databinding.DefaultDemoUIModel
public class DefaultDemoUIModel
Created: 3 déc. 2009
| Field Summary | |
|---|---|
protected Boolean |
f0
|
protected Boolean |
f1
|
protected File |
file
|
protected File |
file1
|
protected static org.apache.commons.logging.Log |
log
|
protected PropertyChangeSupport |
pcs
|
static String |
PROPERTY_F0
|
static String |
PROPERTY_F1
|
static String |
PROPERTY_FILE
|
static String |
PROPERTY_T1
|
protected JToggleButton |
t0
|
protected JToggleButton |
t1
|
| Constructor Summary | |
|---|---|
DefaultDemoUIModel()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a general PropertyChangeListener. |
void |
addPropertyChangeListener(String property,
PropertyChangeListener listener)
Register a PropertyChangeListener. |
void |
firePropertyChange(String name,
Object oldValue,
Object newValue)
All JAXXObject implements are capable of broadcasting PropertyChangeEvent, and
furthermore (for technical reasons) must allow code in outside packages, specifically the JAXX runtime,
to trigger these events. |
Boolean |
getF0()
|
Boolean |
getF1()
|
File |
getFile()
|
File |
getFile1()
|
JToggleButton |
getT0()
|
JToggleButton |
getT1()
|
Boolean |
isF0()
|
Boolean |
isF1()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Unregister a general PropertyChangeListener. |
void |
removePropertyChangeListener(String property,
PropertyChangeListener listener)
Unregister a PropertyChangeListener. |
void |
setF0(Boolean newValue)
|
void |
setF1(Boolean newValue)
|
void |
setFile(File newValue)
|
void |
setT1(JToggleButton newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File file
protected File file1
protected Boolean f1
protected Boolean f0
protected JToggleButton t1
protected JToggleButton t0
public static final String PROPERTY_T1
public static final String PROPERTY_F1
public static final String PROPERTY_F0
public static final String PROPERTY_FILE
protected final PropertyChangeSupport pcs
protected static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public DefaultDemoUIModel()
| Method Detail |
|---|
public Boolean getF0()
public Boolean getF1()
public File getFile()
getFile in interface DemoUIModelpublic File getFile1()
public JToggleButton getT0()
getT0 in interface DemoUIModelpublic JToggleButton getT1()
getT1 in interface DemoUIModelpublic Boolean isF0()
isF0 in interface DemoUIModelpublic Boolean isF1()
isF1 in interface DemoUIModelpublic void setF0(Boolean newValue)
setF0 in interface DemoUIModelpublic void setF1(Boolean newValue)
setF1 in interface DemoUIModelpublic void setFile(File newValue)
setFile in interface DemoUIModelpublic void setT1(JToggleButton newValue)
public void firePropertyChange(String name,
Object oldValue,
Object newValue)
DemoUIModelJAXXObject implements are capable of broadcasting PropertyChangeEvent, and
furthermore (for technical reasons) must allow code in outside packages, specifically the JAXX runtime,
to trigger these events.
firePropertyChange in interface DemoUIModelname - the name of the property which changedoldValue - the old value of the propertynewValue - the new value of the propertypublic void addPropertyChangeListener(PropertyChangeListener listener)
DemoUIModelPropertyChangeListener.
addPropertyChangeListener in interface DemoUIModellistener - the listener to register
public void addPropertyChangeListener(String property,
PropertyChangeListener listener)
DemoUIModelPropertyChangeListener. for the given propertyName.
addPropertyChangeListener in interface DemoUIModelproperty - the property name to listenlistener - the listener to registerpublic void removePropertyChangeListener(PropertyChangeListener listener)
DemoUIModelPropertyChangeListener.
removePropertyChangeListener in interface DemoUIModellistener - the listener to unregister
public void removePropertyChangeListener(String property,
PropertyChangeListener listener)
DemoUIModelPropertyChangeListener. for the given propertyName.
removePropertyChangeListener in interface DemoUIModelproperty - the property name to listenlistener - the listener to unregister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||