Warning
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the java.beans package.
Please see java..
javax.swing.plaf.UIResource
| Modifier and Type | Class and Description |
|---|---|
| public static class | BorderUIResource.
A bevel border UI resource. |
| public static class | BorderUIResource.
A compound border UI resource. |
| public static class | BorderUIResource.
An empty border UI resource. |
| public static class | BorderUIResource.
An etched border UI resource. |
| public static class | BorderUIResource.
A line border UI resource. |
| public static class | BorderUIResource.
A matte border UI resource. |
| public static class | BorderUIResource.
A titled border UI resource. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static Border | |
| private Border | |
| pack-priv static Border | |
| pack-priv static Border | |
| pack-priv static Border |
| Access | Constructor and Description |
|---|---|
| public | BorderUIResource(Border
the border being wrapped delegate)Creates a UIResource border object which wraps an existing Border instance. |
| Modifier and Type | Method and Description |
|---|---|
| public static Border | Returns: a black line border UI resourceReturns a black line border UI resource. |
| public Insets | getBorderInsets(Component c)
Implements javax. Returns the insets of the border. |
| public static Border | |
| public static Border | Returns: a lowered bevel border UI resourceReturns a lowered bevel border UI resource. |
| public static Border | Returns: a raised bevel border UI resourceReturns a raised bevel border UI resource. |
| public boolean | isBorderOpaque()
Implements javax. Returns whether or not the border is opaque. |
| public void | paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Implements javax. Paints the border for the specified component with the specified position and size. |
| blackLine | back to summary |
|---|---|
| pack-priv static Border blackLine | |
| delegate | back to summary |
|---|---|
| private Border delegate | |
| etched | back to summary |
|---|---|
| pack-priv static Border etched | |
| loweredBevel | back to summary |
|---|---|
| pack-priv static Border loweredBevel | |
| raisedBevel | back to summary |
|---|---|
| pack-priv static Border raisedBevel | |
| BorderUIResource | back to summary |
|---|---|
| public BorderUIResource(Border delegate) Creates a UIResource border object which wraps an existing Border instance.
| |
| getBlackLineBorderUIResource | back to summary |
|---|---|
| public static Border getBlackLineBorderUIResource() Returns a black line border UI resource.
| |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c) Implements javax. Doc from javax. Returns the insets of the border. | |
| getEtchedBorderUIResource | back to summary |
|---|---|
| public static Border getEtchedBorderUIResource() Returns a etched border UI resource.
| |
| getLoweredBevelBorderUIResource | back to summary |
|---|---|
| public static Border getLoweredBevelBorderUIResource() Returns a lowered bevel border UI resource.
| |
| getRaisedBevelBorderUIResource | back to summary |
|---|---|
| public static Border getRaisedBevelBorderUIResource() Returns a raised bevel border UI resource.
| |
| isBorderOpaque | back to summary |
|---|---|
| public boolean isBorderOpaque() Implements javax. Doc from javax. Returns whether or not the border is opaque. If the border is opaque, it is responsible for filling in it's own background when painting. | |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) Implements javax. Doc from javax. Paints the border for the specified component with the specified position and size. | |
| Access | Constructor and Description |
|---|---|
| public | BevelBorderUIResource(int
the type of bevel for the border bevelType)Constructs a |
| public | BevelBorderUIResource(int
the type of bevel for the border bevelType, Color the color to use for the bevel highlight highlight, Color the color to use for the bevel shadow shadow)Constructs a |
| public | BevelBorderUIResource(int
the type of bevel for the border bevelType, Color the color to use for the bevel outer highlight highlightOuter, Color the color to use for the bevel inner highlight highlightInner, Color the color to use for the bevel outer shadow shadowOuter, Color the color to use for the bevel inner shadow shadowInner)Constructs a |
| BevelBorderUIResource | back to summary |
|---|---|
| public BevelBorderUIResource(int bevelType) Constructs a
| |
| BevelBorderUIResource | back to summary |
|---|---|
| public BevelBorderUIResource(int bevelType, Color highlight, Color shadow) Constructs a | |
| BevelBorderUIResource | back to summary |
|---|---|
| public BevelBorderUIResource(int bevelType, Color highlightOuter, Color highlightInner, Color shadowOuter, Color shadowInner) Constructs a
| |
| Access | Constructor and Description |
|---|---|
| public | CompoundBorderUIResource(Border
the outside border outsideBorder, Border the inside border insideBorder)Constructs a |
| CompoundBorderUIResource | back to summary |
|---|---|
| public CompoundBorderUIResource(Border outsideBorder, Border insideBorder) Constructs a
| |
| Access | Constructor and Description |
|---|---|
| public | EmptyBorderUIResource(int
the top inset of the border top, int the left inset of the border left, int the bottom inset of the border bottom, int the right inset of the border right)Constructs an |
| public |
| EmptyBorderUIResource | back to summary |
|---|---|
| public EmptyBorderUIResource(int top, int left, int bottom, int right) Constructs an
| |
| EmptyBorderUIResource | back to summary |
|---|---|
| public EmptyBorderUIResource(Insets insets) Constructs an
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EtchedBorderUIResource(int
the type of etch to be drawn by the border etchType)Constructs an |
| public | EtchedBorderUIResource(Color
the color to use for the etched highlight highlight, Color the color to use for the etched shadow shadow)Constructs an |
| public | EtchedBorderUIResource(int
the type of etch to be drawn by the border etchType, Color the color to use for the etched highlight highlight, Color the color to use for the etched shadow shadow)Constructs an |
| EtchedBorderUIResource | back to summary |
|---|---|
| public EtchedBorderUIResource() Constructs an | |
| EtchedBorderUIResource | back to summary |
|---|---|
| public EtchedBorderUIResource(int etchType) Constructs an
| |
| EtchedBorderUIResource | back to summary |
|---|---|
| public EtchedBorderUIResource(Color highlight, Color shadow) Constructs an | |
| EtchedBorderUIResource | back to summary |
|---|---|
| public EtchedBorderUIResource(int etchType, Color highlight, Color shadow) Constructs an
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public | LineBorderUIResource(Color
the color for the border color, int the thickness of the border thickness)Constructs a |
| LineBorderUIResource | back to summary |
|---|---|
| public LineBorderUIResource(Color color) Constructs a
| |
| LineBorderUIResource | back to summary |
|---|---|
| public LineBorderUIResource(Color color, int thickness) Constructs a
| |
| Access | Constructor and Description |
|---|---|
| public | MatteBorderUIResource(int
the top inset of the border top, int the left inset of the border left, int the bottom inset of the border bottom, int the right inset of the border right, Color the color rendered for the border color)Constructs a |
| public | MatteBorderUIResource(int
the top inset of the border top, int the left inset of the border left, int the bottom inset of the border bottom, int the right inset of the border right, Icon the icon to be used for tiling the border tileIcon)Constructs a |
| public | MatteBorderUIResource(Icon
the icon to be used for tiling the border tileIcon)Constructs a |
| MatteBorderUIResource | back to summary |
|---|---|
| public MatteBorderUIResource(int top, int left, int bottom, int right, Color color) Constructs a
| |
| MatteBorderUIResource | back to summary |
|---|---|
| public MatteBorderUIResource(int top, int left, int bottom, int right, Icon tileIcon) Constructs a
| |
| MatteBorderUIResource | back to summary |
|---|---|
| public MatteBorderUIResource(Icon tileIcon) Constructs a
| |
| Access | Constructor and Description |
|---|---|
| public | TitledBorderUIResource(String
the title the border should display title)Constructs a |
| public | |
| public | TitledBorderUIResource(Border
the border border, String the title the border should display title)Constructs a |
| public | TitledBorderUIResource(Border
the border border, String the title the border should display title, int the justification for the title titleJustification, int the position for the title titlePosition)Constructs a |
| public | TitledBorderUIResource(Border
the border border, String the title the border should display title, int the justification for the title titleJustification, int the position for the title titlePosition, Font the font for rendering the title titleFont)Constructs a |
| public | TitledBorderUIResource(Border
the border border, String the title the border should display title, int the justification for the title titleJustification, int the position for the title titlePosition, Font the font for rendering the title titleFont, Color the color of the title titleColor)Constructs a |
| TitledBorderUIResource | back to summary |
|---|---|
| public TitledBorderUIResource(String title) Constructs a
| |
| TitledBorderUIResource | back to summary |
|---|---|
| public TitledBorderUIResource(Border border) Constructs a
| |
| TitledBorderUIResource | back to summary |
|---|---|
| public TitledBorderUIResource(Border border, String title) Constructs a | |
| TitledBorderUIResource | back to summary |
|---|---|
| public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition) Constructs a | |
| TitledBorderUIResource | back to summary |
|---|---|
| public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont) Constructs a | |
| TitledBorderUIResource | back to summary |
|---|---|
| public TitledBorderUIResource(Border border, String title, int titleJustification, int titlePosition, Font titleFont, Color titleColor) Constructs a
| |