Class InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState

  extended by
      extended by

 class InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
extends State

Nested Class Summary
Nested classes/interfaces inherited from class
Field Summary
Fields inherited from class
Default, Disabled, Enabled, Focused, MouseOver, Pressed, Selected, standardStates
Constructor Summary
Method Summary
protected  boolean isInState(JComponent c)
          Gets whether the specified JComponent is in the custom state represented by this class.
Methods inherited from class
getName, getStandardState, isInState, isStandardStateName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


Method Detail


protected boolean isInState(JComponent c)
Description copied from class: State

Gets whether the specified JComponent is in the custom state represented by this class. This is an extremely performance sensitive loop. Please take proper precautions to ensure that it executes quickly.

Nimbus uses this method to help determine what state a JComponent is in. For example, a custom State could exist for JProgressBar such that it would return true when the progress bar is indeterminate. Such an implementation of this method would simply be:

 return c.isIndeterminate();

Specified by:
isInState in class State
c - the JComponent to test. This will never be null.
true if c is in the custom state represented by this State instance