APIdia Launch Partner
Top Fields Constructors Methods
javax.swing.plaf.nimbus

pack-priv Class InternalFrameTitlePaneCloseButtonWindowNotFocusedState

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 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

InternalFrameTitlePaneCloseButtonWindowNotFocusedStateback to summary
pack-priv InternalFrameTitlePaneCloseButtonWindowNotFocusedState()

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();
Annotations
@Override