Class EditorState

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener

    public class EditorState
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    • Constructor Detail

      • EditorState

        public EditorState​(Options options,
                           java.lang.String name)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
      • isValueChanged

        public boolean isValueChanged()
      • applyNonDefaults

        public void applyNonDefaults​(Options save)
      • loadFrom

        public void loadFrom​(Options loadFrom)
      • hasSameValue

        public boolean hasSameValue​(Options compareTo)
      • applyValue

        public void applyValue()
      • supportsCustomOptionsEditor

        public boolean supportsCustomOptionsEditor()
        Returns true if the contained PropertyEditor desired to render and handle it's options directly, as opposed to using the generic framework.
        Returns:
        true if the contained PropertyEditor desired to render and handle it's options directly, as opposed to using the generic framework.
      • getEditorComponent

        public java.awt.Component getEditorComponent()
      • getTitle

        public java.lang.String getTitle()
      • getDescription

        public java.lang.String getDescription()