Top Fields Constructors Methods
javax.swing.plaf.nimbus

pack-priv Class ToolBarEastState

extends State<JComponent>
Class Inheritance
Imports
java.awt.*, javax.swing.*

Field Summary

Inherited from javax.swing.plaf.nimbus.State:
DefaultDisabledEnabledFocusedMouseOverPressedSelectedstandardStates

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected boolean
isInState(JComponent
the JComponent to test. This will never be null.
c
)

Implements abstract javax.swing.plaf.nimbus.State.isInState.

Gets whether the specified JComponent is in the custom state represented by this class.

Inherited from javax.swing.plaf.nimbus.State:
getNamegetStandardStateisInStateisStandardStateNametoString

Constructor Detail

ToolBarEastStateback to summary
pack-priv ToolBarEastState()

Method Detail

isInStateback to summary
protected boolean isInState(JComponent c)

Implements abstract javax.swing.plaf.nimbus.State.isInState.

Doc from javax.swing.plaf.nimbus.State.isInState.

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();
Parameters
c:JComponent

the JComponent to test. This will never be null.

Returns:boolean

true if c is in the custom state represented by this State instance

Annotations
@Override