com.sun.java.swing.plaf.nimbus
Class InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState

java.lang.Object
  extended by com.sun.java.swing.plaf.nimbus.State
      extended by com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState

 class InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
extends State


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.java.swing.plaf.nimbus.State
State.StandardState
 
Field Summary
 
Fields inherited from class com.sun.java.swing.plaf.nimbus.State
Default, Disabled, Enabled, Focused, MouseOver, Pressed, Selected, standardStates
 
Constructor Summary
InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState()
           
 
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 com.sun.java.swing.plaf.nimbus.State
getName, getStandardState, isInState, isStandardStateName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState

InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState()
Method Detail

isInState

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
Parameters:
c - the JComponent to test. This will never be null.
Returns:
true if c is in the custom state represented by this State instance