Class IntensityRelation.IntensityRelationButton

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JButton
com.xinapse.util.NStateButton<IntensityRelation>
com.xinapse.util.IntensityRelation.IntensityRelationButton
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants
Enclosing class:
IntensityRelation

public static class IntensityRelation.IntensityRelationButton extends com.xinapse.util.NStateButton<IntensityRelation>
A Button for setting an intensity relation.
See Also:
  • Field Details

    • DEFAULT_INTENSITY_RELATION

      public static final IntensityRelation DEFAULT_INTENSITY_RELATION
      The default IntensityRelation for applications.
  • Constructor Details

    • IntensityRelationButton

      public IntensityRelationButton(Preferences prefs)
      Create a new IntensityRelationButton.
      Parameters:
      prefs - the Preferences from which the initial state will be set.
  • Method Details

    • getIntensityRelation

      public IntensityRelation getIntensityRelation()
      Returns the intensity relation set.
      Returns:
      the intensity relation currently set in the button.