jaxx.demo.feature.databinding
Class DefaultDemoUIModel

java.lang.Object
  extended by jaxx.demo.feature.databinding.DefaultDemoUIModel
All Implemented Interfaces:
DemoUIModel

public class DefaultDemoUIModel
extends java.lang.Object
implements DemoUIModel

Created: 3 déc. 2009

Version:
$Revision: 1692 $

Mise a jour: $Date: 2009-12-21 21:11:57 +0100 (lun., 21 déc. 2009) $ par : $Author: tchemit $

Author:
Tony Chemit Copyright Code Lutin

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

file

protected java.io.File file

file1

protected java.io.File file1

f1

protected java.lang.Boolean f1

f0

protected java.lang.Boolean f0

t1

protected javax.swing.JToggleButton t1

t0

protected javax.swing.JToggleButton t0

PROPERTY_T1

public static final java.lang.String PROPERTY_T1
See Also:
Constant Field Values

PROPERTY_F1

public static final java.lang.String PROPERTY_F1
See Also:
Constant Field Values

PROPERTY_F0

public static final java.lang.String PROPERTY_F0
See Also:
Constant Field Values

PROPERTY_FILE

public static final java.lang.String PROPERTY_FILE
See Also:
Constant Field Values

pcs

protected final java.beans.PropertyChangeSupport pcs

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

DefaultDemoUIModel

public DefaultDemoUIModel()
Method Detail

getF0

public java.lang.Boolean getF0()

getF1

public java.lang.Boolean getF1()

getFile

public java.io.File getFile()
Specified by:
getFile in interface DemoUIModel

getFile1

public java.io.File getFile1()

getT0

public javax.swing.JToggleButton getT0()
Specified by:
getT0 in interface DemoUIModel

getT1

public javax.swing.JToggleButton getT1()
Specified by:
getT1 in interface DemoUIModel

isF0

public java.lang.Boolean isF0()
Specified by:
isF0 in interface DemoUIModel

isF1

public java.lang.Boolean isF1()
Specified by:
isF1 in interface DemoUIModel

setF0

public void setF0(java.lang.Boolean newValue)
Specified by:
setF0 in interface DemoUIModel

setF1

public void setF1(java.lang.Boolean newValue)
Specified by:
setF1 in interface DemoUIModel

setFile

public void setFile(java.io.File newValue)
Specified by:
setFile in interface DemoUIModel

setT1

public void setT1(javax.swing.JToggleButton newValue)

firePropertyChange

public void firePropertyChange(java.lang.String name,
                               java.lang.Object oldValue,
                               java.lang.Object newValue)
Description copied from interface: DemoUIModel
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.

Specified by:
firePropertyChange in interface DemoUIModel
Parameters:
name - the name of the property which changed
oldValue - the old value of the property
newValue - the new value of the property

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Description copied from interface: DemoUIModel
Register a general PropertyChangeListener.

Specified by:
addPropertyChangeListener in interface DemoUIModel
Parameters:
listener - the listener to register

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String property,
                                      java.beans.PropertyChangeListener listener)
Description copied from interface: DemoUIModel
Register a PropertyChangeListener. for the given propertyName.

Specified by:
addPropertyChangeListener in interface DemoUIModel
Parameters:
property - the property name to listen
listener - the listener to register

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Description copied from interface: DemoUIModel
Unregister a general PropertyChangeListener.

Specified by:
removePropertyChangeListener in interface DemoUIModel
Parameters:
listener - the listener to unregister

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String property,
                                         java.beans.PropertyChangeListener listener)
Description copied from interface: DemoUIModel
Unregister a PropertyChangeListener. for the given propertyName.

Specified by:
removePropertyChangeListener in interface DemoUIModel
Parameters:
property - the property name to listen
listener - the listener to unregister


Copyright © 2008-2009 CodeLutin. All Rights Reserved.