Methods Summary |
---|
public void | addPropertyChangeListener(java.beans.PropertyChangeListener pcl)Add a property listener to this bean.
if (null == pcs)
pcs = new PropertyChangeSupport(this);
pcs.addPropertyChangeListener(pcl);
|
public void | addVetoableChangeListener(java.beans.VetoableChangeListener pcl)Add a Vetoable listener to this bean.
if (null == vcs)
vcs = new VetoableChangeSupport(this);
vcs.addVetoableChangeListener(pcl);
|
protected void | doAttrSetProcessing(org.netbeans.modules.schema2beans.BaseBean bean, java.lang.String newVal, java.lang.String attrName, java.lang.String propName)
String oldName = bean.getAttributeValue(attrName); //NOI18N
fireMyVetoableChange(propName, oldName, newVal);
bean.setAttributeValue(attrName,newVal); //NOI18N
fireMyPropertyChange(propName, oldName, newVal);
|
protected void | doAttrSetProcessing(org.netbeans.modules.schema2beans.BaseBean bean, int newVal, java.lang.String attrName, java.lang.String propName)
int oldVal = Integer.parseInt(bean.getAttributeValue(attrName)); //NOI18N
fireMyVetoableChange(propName, oldVal, newVal);
bean.setAttributeValue(attrName, ""+newVal); //NOI18N
fireMyPropertyChange(propName, oldVal, newVal);
|
protected void | doElementSetProcessing(org.netbeans.modules.schema2beans.BaseBean bean, java.lang.String newVal, java.lang.String subElement, java.lang.String propName)
String oldName = (String) bean.getValue(subElement);
fireMyVetoableChange(propName, oldName, newVal);
bean.setValue(subElement,newVal);
fireMyPropertyChange(propName, oldName, newVal);
|
protected void | fireMyPropertyChange(java.lang.String name, int oldV, int newV) // throws PropertyVetoException {
if (null == pcs) {
pcs = new PropertyChangeSupport(this);
}
pcs.firePropertyChange(name,oldV,newV);
|
protected void | fireMyPropertyChange(java.lang.String name, java.lang.Object oldV, java.lang.Object newV) // throws PropertyVetoException {
if (null == pcs) {
pcs = new PropertyChangeSupport(this);
}
pcs.firePropertyChange(name,oldV,newV);
|
protected void | fireMyVetoableChange(java.lang.String name, java.lang.Object oldV, java.lang.Object newV)
if (null == vcs) {
vcs = new VetoableChangeSupport(this);
}
vcs.fireVetoableChange(name,oldV,newV);
|
protected void | fireMyVetoableChange(java.lang.String name, int oldV, int newV)
if (null == vcs) {
vcs = new VetoableChangeSupport(this);
}
vcs.fireVetoableChange(name,oldV,newV);
|
public java.beans.PropertyChangeSupport | getPCS()
if (null == pcs)
pcs = new PropertyChangeSupport(this);
return pcs;
|
public java.beans.VetoableChangeSupport | getVCS()
if (null == vcs)
vcs = new VetoableChangeSupport(this);
return vcs;
|
public abstract void | outTo(java.io.OutputStream os)
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener pcl)Remove this listener.
if (null != pcs)
pcs.removePropertyChangeListener(pcl);
|
public void | removeVetoableChangeListener(java.beans.VetoableChangeListener pcl)Remove this listener.
if (null != vcs)
vcs.removeVetoableChangeListener(pcl);
|