|
||||||||||
| 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 java.lang.Boolean |
f0
|
protected java.lang.Boolean |
f1
|
protected java.io.File |
file
|
protected java.io.File |
file1
|
protected static org.apache.commons.logging.Log |
log
|
protected java.beans.PropertyChangeSupport |
pcs
|
static java.lang.String |
PROPERTY_F0
|
static java.lang.String |
PROPERTY_F1
|
static java.lang.String |
PROPERTY_FILE
|
static java.lang.String |
PROPERTY_T1
|
protected javax.swing.JToggleButton |
t0
|
protected javax.swing.JToggleButton |
t1
|
| Constructor Summary | |
|---|---|
DefaultDemoUIModel()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Register a general PropertyChangeListener. |
void |
addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
Register a PropertyChangeListener. for the given propertyName. |
void |
firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.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. |
java.lang.Boolean |
getF0()
|
java.lang.Boolean |
getF1()
|
java.io.File |
getFile()
|
java.io.File |
getFile1()
|
javax.swing.JToggleButton |
getT0()
|
javax.swing.JToggleButton |
getT1()
|
java.lang.Boolean |
isF0()
|
java.lang.Boolean |
isF1()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Unregister a general PropertyChangeListener. |
void |
removePropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
Unregister a PropertyChangeListener. for the given propertyName. |
void |
setF0(java.lang.Boolean newValue)
|
void |
setF1(java.lang.Boolean newValue)
|
void |
setFile(java.io.File newValue)
|
void |
setT1(javax.swing.JToggleButton newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File file
protected java.io.File file1
protected java.lang.Boolean f1
protected java.lang.Boolean f0
protected javax.swing.JToggleButton t1
protected javax.swing.JToggleButton t0
public static final java.lang.String PROPERTY_T1
public static final java.lang.String PROPERTY_F1
public static final java.lang.String PROPERTY_F0
public static final java.lang.String PROPERTY_FILE
protected final java.beans.PropertyChangeSupport pcs
protected static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public DefaultDemoUIModel()
| Method Detail |
|---|
public java.lang.Boolean getF0()
public java.lang.Boolean getF1()
public java.io.File getFile()
getFile in interface DemoUIModelpublic java.io.File getFile1()
public javax.swing.JToggleButton getT0()
getT0 in interface DemoUIModelpublic javax.swing.JToggleButton getT1()
getT1 in interface DemoUIModelpublic java.lang.Boolean isF0()
isF0 in interface DemoUIModelpublic java.lang.Boolean isF1()
isF1 in interface DemoUIModelpublic void setF0(java.lang.Boolean newValue)
setF0 in interface DemoUIModelpublic void setF1(java.lang.Boolean newValue)
setF1 in interface DemoUIModelpublic void setFile(java.io.File newValue)
setFile in interface DemoUIModelpublic void setT1(javax.swing.JToggleButton newValue)
public void firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.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(java.beans.PropertyChangeListener listener)
DemoUIModelPropertyChangeListener.
addPropertyChangeListener in interface DemoUIModellistener - the listener to register
public void addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
DemoUIModelPropertyChangeListener. for the given propertyName.
addPropertyChangeListener in interface DemoUIModelproperty - the property name to listenlistener - the listener to registerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
DemoUIModelPropertyChangeListener.
removePropertyChangeListener in interface DemoUIModellistener - the listener to unregister
public void removePropertyChangeListener(java.lang.String property,
java.beans.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 | |||||||||