/** Fires property change event. * @param name name of the property * @param o old value of the property * @param n new value of the property */ protected final void firePropertyChange(String name, Object o, Object n) { firePropertyChange(name, o, n, null); }
/** Setter for validity. Accessible only from filesystem pool. * @param v the new value */ final void setValid(boolean v) { if (v != valid) { valid = v; firePropertyChange( PROP_VALID, (!v) ? Boolean.TRUE : Boolean.FALSE, v ? Boolean.TRUE : Boolean.FALSE, Boolean.FALSE ); } }
/** Set hidden state of the object. * A hidden filesystem is not presented to the user in the Repository list (though it may be present in the Repository Settings list). * * @param hide <code>true</code> if the filesystem should be hidden * @deprecated This property is now useless. */ @Deprecated public final void setHidden(boolean hide) { if (hide != hidden) { hidden = hide; firePropertyChange(PROP_HIDDEN, (!hide) ? Boolean.TRUE : Boolean.FALSE, hide ? Boolean.TRUE : Boolean.FALSE); } }
public void propertyChange(java.beans.PropertyChangeEvent propertyChangeEvent) { firePropertyChange( PROP_CAPABILITIES, propertyChangeEvent.getOldValue(), propertyChangeEvent.getNewValue() ); } };
firePropertyChange(PROP_SYSTEM_NAME, o, n); firePropertyChange(PROP_DISPLAY_NAME, null, null);
/** Fires property change event. * @param name name of the property * @param o old value of the property * @param n new value of the property */ protected final void firePropertyChange (String name, Object o, Object n) { firePropertyChange (name, o, n, null); }
/** Fires property change event. * @param name name of the property * @param o old value of the property * @param n new value of the property */ protected final void firePropertyChange (String name, Object o, Object n) { firePropertyChange (name, o, n, null); }
/** Setter for validity. Accessible only from filesystem pool. * @param v the new value */ final void setValid (boolean v) { if (v != valid) { valid = v; firePropertyChange (PROP_VALID, !v ? Boolean.TRUE : Boolean.FALSE, v ? Boolean.TRUE : Boolean.FALSE, Boolean.FALSE); } }
/** Setter for validity. Accessible only from filesystem pool. * @param v the new value */ final void setValid (boolean v) { if (v != valid) { valid = v; firePropertyChange (PROP_VALID, !v ? Boolean.TRUE : Boolean.FALSE, v ? Boolean.TRUE : Boolean.FALSE, Boolean.FALSE); } }
/** Set hidden state of the object. * A hidden filesystem is not presented to the user in the Repository list (though it may be present in the Repository Settings list). * * @param hide <code>true</code> if the filesystem should be hidden * @deprecated This property is now useless. */ public final void setHidden (boolean hide) { if (hide != hidden) { hidden = hide; firePropertyChange (PROP_HIDDEN, !hide ? Boolean.TRUE : Boolean.FALSE, hide ? Boolean.TRUE : Boolean.FALSE); } }
/** Set hidden state of the object. * A hidden filesystem is not presented to the user in the Repository list (though it may be present in the Repository Settings list). * * @param hide <code>true</code> if the filesystem should be hidden * @deprecated This property is now useless. */ public final void setHidden (boolean hide) { if (hide != hidden) { hidden = hide; firePropertyChange (PROP_HIDDEN, !hide ? Boolean.TRUE : Boolean.FALSE, hide ? Boolean.TRUE : Boolean.FALSE); } }
public void propertyChange(java.beans.PropertyChangeEvent propertyChangeEvent) { fs().firePropertyChange( PROP_CAPABILITIES, propertyChangeEvent.getOldValue(), propertyChangeEvent.getNewValue() ); } };
/** Set hidden state of the object. * A hidden filesystem is not presented to the user in the Repository list (though it may be present in the Repository Settings list). * * @param hide <code>true</code> if the filesystem should be hidden * @deprecated This property is now useless. */ @Deprecated public final void setHidden(boolean hide) { if (hide != hidden) { hidden = hide; fs().firePropertyChange(FileSystem.PROP_HIDDEN, (!hide) ? Boolean.TRUE : Boolean.FALSE, hide ? Boolean.TRUE : Boolean.FALSE); } }
systemName = name.intern (); firePropertyChange (PROP_SYSTEM_NAME, old, systemName); firePropertyChange (PROP_DISPLAY_NAME, null, null);
systemName = name.intern (); firePropertyChange (PROP_SYSTEM_NAME, old, systemName); firePropertyChange (PROP_DISPLAY_NAME, null, null);