Interface symantec.itools.awt.BevelStyle
All Packages Class Hierarchy This Package Previous Next Index
Interface symantec.itools.awt.BevelStyle
- public interface BevelStyle
BevelStyle is an interface for components with borders that can be drawn
different ways. The "raised" style makes the component appears raised above
the surrounding area, the "lowered" style makes the component appear lowered,
the "line" style draws a simple line around the component, and components with
the "none" style have nothing drawn around them.
- Author:
- Symantec
-
BEVEL_LINE
- Defines the "line" shape border style.
-
BEVEL_LOWERED
- Defines the "lowered" shape border style.
-
BEVEL_NONE
- Defines the "none" shape border style.
-
BEVEL_RAISED
- Defines the "raised" shape border style.
-
getBevelStyle()
- Gets the current border style.
-
setBevelStyle(int)
- Sets the new border style.
BEVEL_LINE
public static final int BEVEL_LINE
- Defines the "line" shape border style. This draws a simple line around the
component.
BEVEL_LOWERED
public static final int BEVEL_LOWERED
- Defines the "lowered" shape border style. This makes the component appear
lower than the surrounding area.
BEVEL_NONE
public static final int BEVEL_NONE
- Defines the "none" shape border style. This indicates the component will have
nothing drawn around its border.
BEVEL_RAISED
public static final int BEVEL_RAISED
- Defines the "raised" shape border style. This makes the component appear
raised above the surrounding area.
getBevelStyle
public abstract int getBevelStyle()
- Gets the current border style.
- Returns:
- the current border style, one of BEVEL_LOWERED, BEVEL_RAISED,
BEVEL_LINE, or BEVEL_NONE
- See Also:
- setBevelStyle, BEVEL_LOWERED, BEVEL_RAISED, BEVEL_LINE, BEVEL_NONE
setBevelStyle
public abstract void setBevelStyle(int style) throws PropertyVetoException
- Sets the new border style.
- Parameters:
- style - the new border style, one of BEVEL_LOWERED, BEVEL_RAISED,
BEVEL_LINE, or BEVEL_NONE
- Throws: PropertyVetoException
- if the specified property value is unacceptable
- See Also:
- getBevelStyle, BEVEL_LOWERED, BEVEL_RAISED, BEVEL_LINE, BEVEL_NONE
All Packages Class Hierarchy This Package Previous Next Index