Class Property<T>

    • Constructor Detail

      • Property

        public Property(String propertyName)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • isUserAdjustable

        public boolean isUserAdjustable()
      • setEnabled

        public void setEnabled(boolean b)
      • setUserAdjustable

        public void setUserAdjustable(boolean b)
      • getValue

        public final T getValue()
      • getName

        public final String getName()
      • setValue

        public final boolean setValue(T obj)
      • validateValue

        protected void validateValue(T value)
        Subclasses should override this method to throw an IllegalArgumentException if a value is inappropriate for this property.
        Parameters:
        value -
      • firePropertyChangeListeners

        protected void firePropertyChangeListeners(String propertyName,
                                                   Object oldValue,
                                                   Object newValue)