< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/synth/SynthConstants.java
Print this page
*** 27,40 ****
import javax.swing.*;
/**
* Constants used by Synth. Not all Components support all states. A
* Component will at least be in one of the primary states. That is, the
! * return value from <code>SynthContext.getComponentState()</code> will at
! * least be one of <code>ENABLED</code>, <code>MOUSE_OVER</code>,
! * <code>PRESSED</code> or <code>DISABLED</code>, and may also contain
! * <code>FOCUSED</code>, <code>SELECTED</code> or <code>DEFAULT</code>.
*
* @since 1.5
*/
public interface SynthConstants {
/**
--- 27,40 ----
import javax.swing.*;
/**
* Constants used by Synth. Not all Components support all states. A
* Component will at least be in one of the primary states. That is, the
! * return value from {@code SynthContext.getComponentState()} will at
! * least be one of {@code ENABLED}, {@code MOUSE_OVER},
! * {@code PRESSED} or {@code DISABLED}, and may also contain
! * {@code FOCUSED}, {@code SELECTED} or {@code DEFAULT}.
*
* @since 1.5
*/
public interface SynthConstants {
/**
< prev index next >