javax.swing.plaf.synth
public class SynthContext extends Object
Since: 1.5
| Constructor Summary | |
|---|---|
| SynthContext(JComponent component, Region region, SynthStyle style, int state)
Creates a new SynthContext object.
| |
| Method Summary | |
|---|---|
| JComponent | getComponent()
Returns the component that contains the region.
|
| int | getComponentState()
Returns the state of the component. |
| Region | getRegion()
Returns the region that identifies this state.
|
| SynthStyle | getStyle()
Returns the style of the region.
|
SynthContext object.
Parameters: component the component for which this context is used region the region of the component style the style associated with the component state a or'ed bitmask of the constants from {@link SynthConstants}
Returns: the component that contains the region
Returns: the state of the component
See Also: SynthConstants
Returns: the region that identifies this state
Returns: the style of the region