Class AbstractPropertiesAction<T,​D extends Dialog>

    • Field Detail

      • m_State

        protected T m_State
        the state.
    • Constructor Detail

      • AbstractPropertiesAction

        public AbstractPropertiesAction()
    • Method Detail

      • canUseIcon

        protected boolean canUseIcon()
        Returns whether the icon (if available) can be used.
        true if it can be used
      • getProperties

        protected abstract Properties getProperties()
        Returns the underlying properties.
        the properties
      • getTitle

        protected abstract String getTitle()
        Returns the caption of this action.
        the caption, null if not applicable
      • getMenuItem

        public abstract JMenuItem getMenuItem()
        Creates a new menuitem.
      • doUpdate

        protected abstract void doUpdate()
        Performs the actual update of the state of the action.
      • update

        public void update​(T state)
        Updates the state of the action.
        state - the current state