|
|||||||||
| Home >> All >> javax >> swing >> [ border overview ] | PREV NEXT | ||||||||
A
- ABOVE_BOTTOM - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text above the bottom line of the border. - ABOVE_TOP - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text above the top line of the border. - AbstractBorder - class javax.swing.border.AbstractBorder.
- An invisible zero-width border, serving as a base class for implementing more interesting borders.
- AbstractBorder() - Constructor for class javax.swing.border.AbstractBorder
- Constructs a new AbstractBorder.
B
- BELOW_BOTTOM - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text below the bottom line of the border. - BELOW_TOP - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text below the top line of the border. - BOTTOM - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text at the center of the bottom line of the border. - BevelBorder - class javax.swing.border.BevelBorder.
- A rectangular, two pixel thick border that causes the enclosed area to appear as if it was raising out of or lowered into the screen.
- BevelBorder(int) - Constructor for class javax.swing.border.BevelBorder
- Constructs a BevelBorder whose colors will be derived from the background of the enclosed component.
- BevelBorder(int, Color, Color) - Constructor for class javax.swing.border.BevelBorder
- Constructs a BevelBorder given its appearance type and two colors for its highlight and shadow.
- BevelBorder(int, Color, Color, Color, Color) - Constructor for class javax.swing.border.BevelBorder
- Constructs a BevelBorder given its appearance type and all colors.
- Border - interface javax.swing.border.Border.
- An public interface for decorative or spacing borders around a Component.
- bevelType - Variable in class javax.swing.border.BevelBorder
- The type of this BevelBorder, which is either
BevelBorder.RAISED55 orBevelBorder.LOWERED55 . - blackLineBorder - Static variable in class javax.swing.border.LineBorder
- A shared instance of a black, one pixel thick, plain LineBorder.
- border - Variable in class javax.swing.border.TitledBorder.Measurements
- The border that constitutes the interior border underneath the title text.
- border - Variable in class javax.swing.border.TitledBorder
- The border underneath the title.
- borderInsets - Variable in class javax.swing.border.TitledBorder.Measurements
- The width of the interior border, as returned by
border.getBorderInsets(). - bottom - Variable in class javax.swing.border.EmptyBorder
- The number of pixels required at the bottom edge.
C
- CENTER - Static variable in class javax.swing.border.TitledBorder
- A value for the
titleJustificationproperty that horizontally aligns the title text with the center of the border. - CompoundBorder - class javax.swing.border.CompoundBorder.
- A Border that is composed of an interior and an exterior border, where the interior border is tightly nested into the exterior.
- CompoundBorder() - Constructor for class javax.swing.border.CompoundBorder
- Constructs a CompoundBorder whose inside and outside borders
are both
null. - CompoundBorder(Border, Border) - Constructor for class javax.swing.border.CompoundBorder
- Constructs a CompoundBorder with the specified inside and outside borders.
- color - Variable in class javax.swing.border.MatteBorder
- The color that is used for filling the border, or
nullif the border is filled with repetitions of a tile icon. - createBlackLineBorder() - Static method in class javax.swing.border.LineBorder
- Returns a black, one pixel thick, plain LineBorder.
- createGrayLineBorder() - Static method in class javax.swing.border.LineBorder
- Returns a gray, one pixel thick, plain LineBorder.
D
- DEFAULT_JUSTIFICATION - Static variable in class javax.swing.border.TitledBorder
- A value for the
titleJustificationproperty that horizontally aligns the title text with either the left or the right edge of the border, depending on the orientation of the component nested into the border. - DEFAULT_POSITION - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text at the default vertical position, which is in the middle of the top line of the border.
E
- EDGE_SPACING - Static variable in class javax.swing.border.TitledBorder
- The number of pixels between the inside of
TitledBorder.border55 and the bordered component. - EmptyBorder - class javax.swing.border.EmptyBorder.
- A border for leaving a specifiable number of pixels empty around the enclosed component.
- EmptyBorder(int, int, int, int) - Constructor for class javax.swing.border.EmptyBorder
- Constructs an empty border given the number of pixels required on each side.
- EmptyBorder(Insets) - Constructor for class javax.swing.border.EmptyBorder
- Constructs an empty border given the number of pixels required on each side, passed in an Insets object.
- EtchedBorder - class javax.swing.border.EtchedBorder.
- A border that looks like an engraving etched into the background surface, or (in its raised variant) coming out of the surface plane.
- EtchedBorder() - Constructor for class javax.swing.border.EtchedBorder
- Constructs a lowered EtchedBorder.
- EtchedBorder(int) - Constructor for class javax.swing.border.EtchedBorder
- Constructs an EtchedBorder with the specified appearance.
- EtchedBorder(Color, Color) - Constructor for class javax.swing.border.EtchedBorder
- Constructs a lowered EtchedBorder, explicitly selecting the colors that will be used for highlight and shadow.
- EtchedBorder(int, Color, Color) - Constructor for class javax.swing.border.EtchedBorder
- Constructs an EtchedBorder with the specified appearance, explicitly selecting the colors that will be used for highlight and shadow.
- etchType - Variable in class javax.swing.border.EtchedBorder
- The type of this EtchedBorder, which is either
EtchedBorder.RAISED55 orEtchedBorder.LOWERED55 .
F
- font - Variable in class javax.swing.border.TitledBorder.Measurements
- The font used for displaying the title text.
G
- getBevelType() - Method in class javax.swing.border.BevelBorder
- Returns the appearance of this border, which is either
BevelBorder.RAISED55 orBevelBorder.LOWERED55 . - getBorder() - Method in class javax.swing.border.TitledBorder
- Retrieves the border underneath the title.
- getBorderInsets(Component) - Method in class javax.swing.border.AbstractBorder
- Returns the insets required for drawing this border around the specified component.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.AbstractBorder
- Returns the insets required for drawing this border around the specified component.
- getBorderInsets(Component) - Method in class javax.swing.border.BevelBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.BevelBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getBorderInsets(Component) - Method in interface javax.swing.border.Border
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.CompoundBorder
- Changes the specified insets to the insets of this border, which is the sum of the insets of the inside and the outside border.
- getBorderInsets(Component) - Method in class javax.swing.border.CompoundBorder
- Determines the insets of this border, which is the sum of the insets of the inside and the outside border.
- getBorderInsets(Component) - Method in class javax.swing.border.EmptyBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.EmptyBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getBorderInsets() - Method in class javax.swing.border.EmptyBorder
- Measures the width of this border.
- getBorderInsets(Component) - Method in class javax.swing.border.EtchedBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.EtchedBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getBorderInsets(Component) - Method in class javax.swing.border.LineBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.LineBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getBorderInsets(Component) - Method in class javax.swing.border.MatteBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.MatteBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getBorderInsets() - Method in class javax.swing.border.MatteBorder
- Measures the width of this border.
- getBorderInsets(Component) - Method in class javax.swing.border.SoftBevelBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.SoftBevelBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getBorderInsets(Component) - Method in class javax.swing.border.TitledBorder
- Measures the width of this border.
- getBorderInsets(Component, Insets) - Method in class javax.swing.border.TitledBorder
- Measures the width of this border, storing the results into a pre-existing Insets object.
- getContentInsets(Insets) - Method in class javax.swing.border.TitledBorder.Measurements
- Determines the insets of the nested component when it has a TitledBorder as its border.
- getEtchType() - Method in class javax.swing.border.EtchedBorder
- Returns the appearance of this EtchedBorder, which is either
EtchedBorder.RAISED55 orEtchedBorder.LOWERED55 . - getFont(Component) - Method in class javax.swing.border.TitledBorder
- Returns the font that is used for displaying the title text for a given Component.
- getHighlightColor(Component) - Method in class javax.swing.border.EtchedBorder
- Determines the color that will be used for highlighted parts when painting the border around a given component.
- getHighlightColor() - Method in class javax.swing.border.EtchedBorder
- Returns the color that will be used for highlighted parts when
painting the border, or
nullif that color will be derived from the background of the enclosed Component. - getHighlightInnerColor(Component) - Method in class javax.swing.border.BevelBorder
- Determines the color that will be used for the inner side of highlighted edges when painting the border.
- getHighlightInnerColor() - Method in class javax.swing.border.BevelBorder
- Returns the color that will be used for the inner side of
highlighted edges when painting the border, or
nullif that color will be derived from the background of the enclosed Component. - getHighlightOuterColor(Component) - Method in class javax.swing.border.BevelBorder
- Determines the color that will be used for the outer side of highlighted edges when painting the border.
- getHighlightOuterColor() - Method in class javax.swing.border.BevelBorder
- Returns the color that will be used for the outer side of
highlighted edges when painting the border, or
nullif that color will be derived from the background of the enclosed Component. - getInsideBorder() - Method in class javax.swing.border.CompoundBorder
- Returns the inside border, which is painted between the bordered Component and the outside border.
- getInteriorRectangle(Component, int, int, int, int) - Method in class javax.swing.border.AbstractBorder
- Returns a rectangle that covers the specified area minus the insets required to draw this border.
- getInteriorRectangle(Component, Border, int, int, int, int) - Static method in class javax.swing.border.AbstractBorder
- Returns a rectangle that covers the specified area minus the insets
required to draw the specified border (if the border is
null, zero insets are assumed). - getLineColor() - Method in class javax.swing.border.LineBorder
- Returns the color of the line.
- getMatteColor() - Method in class javax.swing.border.MatteBorder
- Returns the color that is used for filling the border, or
nullif the border is filled with repetitions of a tile icon. - getMeasurements(Component) - Method in class javax.swing.border.TitledBorder
- Performs various measurements for the current state of this TitledBorder and the given Component.
- getMinimumSize() - Method in class javax.swing.border.TitledBorder.Measurements
- Calculates the minimum size needed for displaying the border and its title.
- getMinimumSize(Component) - Method in class javax.swing.border.TitledBorder
- Calculates the minimum size needed for displaying the border and its title.
- getOutsideBorder() - Method in class javax.swing.border.CompoundBorder
- Returns the outside border, which is painted outside both the bordered Component and the inside border.
- getRealTitleJustification(Component) - Method in class javax.swing.border.TitledBorder
- Returns the horizontal alignment of the title text in relation to
the border, mapping the component-dependent alignment constants
TitledBorder.LEADING55 ,TitledBorder.TRAILING55 andTitledBorder.DEFAULT_JUSTIFICATION55 to the correct value according to the embedded component’s orientation. - getRoundedCorners() - Method in class javax.swing.border.LineBorder
- Returns whether this LineBorder os drawm with rounded or with plain corners.
- getShadowColor(Component) - Method in class javax.swing.border.EtchedBorder
- Determines the color that will be used for shadowed parts when painting the border around a given component.
- getShadowColor() - Method in class javax.swing.border.EtchedBorder
- Returns the color that will be used for shadowed parts when
painting the border, or
nullif that color will be derived from the background of the enclosed Component. - getShadowInnerColor(Component) - Method in class javax.swing.border.BevelBorder
- Determines the color that will be used for the inner side of shadowed edges when painting the border.
- getShadowInnerColor() - Method in class javax.swing.border.BevelBorder
- Returns the color that will be used for the inner side of
shadowed edges when painting the border, or
nullif that color will be derived from the background of the enclosed Component. - getShadowOuterColor(Component) - Method in class javax.swing.border.BevelBorder
- Determines the color that will be used for the outer side of shadowed edges when painting the border.
- getShadowOuterColor() - Method in class javax.swing.border.BevelBorder
- Returns the color that will be used for the outer side of
shadowed edges when painting the border, or
nullif that color will be derived from the background of the enclosed Component. - getThickness() - Method in class javax.swing.border.LineBorder
- Returns the thickness of the line in pixels.
- getTileIcon() - Method in class javax.swing.border.MatteBorder
- Returns the icon is used for tiling the border, or
nullif the border is filled with a color instead of an icon. - getTitle() - Method in class javax.swing.border.TitledBorder
- Returns the text of the title.
- getTitleColor() - Method in class javax.swing.border.TitledBorder
- Retrieves the color for displaying the title text.
- getTitleFont() - Method in class javax.swing.border.TitledBorder
- Retrieves the font for displaying the title text.
- getTitleJustification() - Method in class javax.swing.border.TitledBorder
- Returns the horizontal alignment of the title text in relation to the border.
- getTitlePosition() - Method in class javax.swing.border.TitledBorder
- Returns the vertical position of the title text in relation to the border.
- grayLineBorder - Static variable in class javax.swing.border.LineBorder
- A shared instance of a gray, one pixel thick, plain LineBorder.
H
- highlight - Variable in class javax.swing.border.EtchedBorder
- The highlight color, or
nullto indicate that the color shall be derived from the background of the enclosed component. - highlightInner - Variable in class javax.swing.border.BevelBorder
- The inner highlight color, or
nullto indicate that the color shall be derived from the background of the component whose border is being painted. - highlightOuter - Variable in class javax.swing.border.BevelBorder
- The outer highlight color, or
nullto indicate that the color shall be derived from the background of the component whose border is being painted.
I
- innerSpacing - Variable in class javax.swing.border.TitledBorder.Measurements
- The distance between the interior border and the nested Component for which this TitledBorder is a border.
- insideBorder - Variable in class javax.swing.border.CompoundBorder
- The inside border, which is painted between the bordered Component and the outside border.
- isBorderOpaque() - Method in class javax.swing.border.AbstractBorder
- Determines whether or not this border is opaque.
- isBorderOpaque() - Method in class javax.swing.border.BevelBorder
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in interface javax.swing.border.Border
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in class javax.swing.border.CompoundBorder
- Determines whether or not this border is opaque.
- isBorderOpaque() - Method in class javax.swing.border.EmptyBorder
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in class javax.swing.border.EtchedBorder
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in class javax.swing.border.LineBorder
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in class javax.swing.border.MatteBorder
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in class javax.swing.border.SoftBevelBorder
- Determines whether this border fills every pixel in its area when painting.
- isBorderOpaque() - Method in class javax.swing.border.TitledBorder
- Returns
false, indicating that there are pixels inside the area of this border where the background shines through.
J
- javax.swing.border - package javax.swing.border
- Provides a collection of cross-platform user interface components.
L
- LEADING - Static variable in class javax.swing.border.TitledBorder
- A value for the
titleJustificationproperty that horizontally aligns the title text with either the left or the right edge of the border, depending on the orientation of the component nested into the border. - LEFT - Static variable in class javax.swing.border.TitledBorder
- A value for the
titleJustificationproperty that horizontally aligns the title text with the left-hand edge of the border. - LOWERED - Static variable in class javax.swing.border.BevelBorder
- Indicates that the BevelBorder looks like if the enclosed area was pressed into the screen.
- LOWERED - Static variable in class javax.swing.border.EtchedBorder
- Indicates that the border appears as engraved into the background.
- LineBorder - class javax.swing.border.LineBorder.
- A border that consists of a line whose thickness and color can be specified.
- LineBorder(Color) - Constructor for class javax.swing.border.LineBorder
- Constructs a LineBorder given its color.
- LineBorder(Color, int) - Constructor for class javax.swing.border.LineBorder
- Constructs a LineBorder given its color and thickness.
- LineBorder(Color, int, boolean) - Constructor for class javax.swing.border.LineBorder
- Constructs a LineBorder given its color, thickness, and whether it has rounded corners.
- left - Variable in class javax.swing.border.EmptyBorder
- The number of pixels required at the left edge.
- lineColor - Variable in class javax.swing.border.LineBorder
- The color of the line.
- lineHeight - Variable in class javax.swing.border.TitledBorder.Measurements
- The number of pixels between the base line and the height where a strike-through would be drawn.
M
- MatteBorder - class javax.swing.border.MatteBorder.
- A border that is filled with either a solid color or with repeated icon tiles.
- MatteBorder(int, int, int, int, Color) - Constructor for class javax.swing.border.MatteBorder
- Constructs a MatteBorder given the width on each side and a fill color.
- MatteBorder(Insets, Color) - Constructor for class javax.swing.border.MatteBorder
- Constructs a MatteBorder given its insets and fill color.
- MatteBorder(int, int, int, int, Icon) - Constructor for class javax.swing.border.MatteBorder
- Constructs a MatteBorder given the width on each side and an icon for tiling the border area.
- MatteBorder(Insets, Icon) - Constructor for class javax.swing.border.MatteBorder
- Constructs a MatteBorder given its insets and an icon for tiling the border area.
- MatteBorder(Icon) - Constructor for class javax.swing.border.MatteBorder
- Constructs a MatteBorder given an icon for tiling the border area.
O
- outerSpacing - Variable in class javax.swing.border.TitledBorder.Measurements
- The distance between the TitledBorder and the interior border.
- outsideBorder - Variable in class javax.swing.border.CompoundBorder
- The outside border, which is painted outside both the bordered Component and the inside border.
P
- paintBevel(Graphics, int, int, int, int, Color, Color, Color, Color) - Static method in class javax.swing.border.BevelBorder
- Paints a two-pixel bevel in four colors.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.AbstractBorder
- Performs nothing, because the default implementation provided by this class is an invisible, zero-width border.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.BevelBorder
- Paints the border for a given component.
- paintBorder(Component, Graphics, int, int, int, int) - Method in interface javax.swing.border.Border
- Paints the border for a given component.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.CompoundBorder
- Paints the compound border by first painting the outside border, then painting the inside border tightly nested into the outside.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.EmptyBorder
- Performs nothing because an EmptyBorder does not paint any pixels.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.EtchedBorder
- Paints the border for a given component.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.LineBorder
- Paints the line border around a given Component.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.MatteBorder
- Paints the border for a given component.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.SoftBevelBorder
- Paints the border for a given component.
- paintBorder(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.TitledBorder
- Paints the border and the title text.
- paintEdge(Component, Graphics, int, int, int, int, int, int) - Method in class javax.swing.border.MatteBorder
- Paints a rectangular area of the border.
- paintEtchedBorder(Graphics, int, int, int, int, Color, Color) - Static method in class javax.swing.border.EtchedBorder
- Paints a two-pixel etching in two colors.
- paintLoweredBevel(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.BevelBorder
- Paints a lowered bevel border around a component.
- paintRaisedBevel(Component, Graphics, int, int, int, int) - Method in class javax.swing.border.BevelBorder
- Paints a raised bevel border around a component.
- paintSoftBevel(Graphics, int, int, int, int, Color, Color, Color, Color) - Static method in class javax.swing.border.SoftBevelBorder
- Paints a soft bevel in four colors.
R
- RAISED - Static variable in class javax.swing.border.BevelBorder
- Indicates that the BevelBorder looks like if the enclosed area was raising out of the screen.
- RAISED - Static variable in class javax.swing.border.EtchedBorder
- Indicates that the border appears as coming out of the background.
- RIGHT - Static variable in class javax.swing.border.TitledBorder
- A value for the
titleJustificationproperty that horizontally aligns the title text with the right-hand edge of the border. - right - Variable in class javax.swing.border.EmptyBorder
- The number of pixels required at the right edge.
- roundedCorners - Variable in class javax.swing.border.LineBorder
- Indicates whether the line is drawn with rounded corners
(
true) or not ((false).
S
- SoftBevelBorder - class javax.swing.border.SoftBevelBorder.
- A rectangular, three pixel thick border that looks like a BevelBorder with slightly softened corners.
- SoftBevelBorder(int) - Constructor for class javax.swing.border.SoftBevelBorder
- Constructs a SoftBevelBorder whose colors will be derived from the background of the enclosed component.
- SoftBevelBorder(int, Color, Color) - Constructor for class javax.swing.border.SoftBevelBorder
- Constructs a SoftBevelBorder given its appearance type and two colors for its highlight and shadow.
- SoftBevelBorder(int, Color, Color, Color, Color) - Constructor for class javax.swing.border.SoftBevelBorder
- Constructs a SoftBevelBorder given its appearance type and all colors.
- serialVersionUID - Static variable in class javax.swing.border.AbstractBorder
- serialVersionUID - Static variable in class javax.swing.border.BevelBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - serialVersionUID - Static variable in class javax.swing.border.CompoundBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - serialVersionUID - Static variable in class javax.swing.border.EmptyBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - serialVersionUID - Static variable in class javax.swing.border.EtchedBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - serialVersionUID - Static variable in class javax.swing.border.LineBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - serialVersionUID - Static variable in class javax.swing.border.MatteBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - serialVersionUID - Static variable in class javax.swing.border.SoftBevelBorder
- Determined using the
serialvertool of Sun JDK 1.4.1_01 on GNU/Linux 2.4.20. - serialVersionUID - Static variable in class javax.swing.border.TitledBorder
- Determined using the
serialvertool of Apple/Sun JDK 1.3.1 on MacOS X 10.1.5. - setBorder(Border) - Method in class javax.swing.border.TitledBorder
- Sets the border underneath the title.
- setTitle(String) - Method in class javax.swing.border.TitledBorder
- Sets the text of the title.
- setTitleColor(Color) - Method in class javax.swing.border.TitledBorder
- Sets the color for displaying the title text.
- setTitleFont(Font) - Method in class javax.swing.border.TitledBorder
- Sets the font for displaying the title text.
- setTitleJustification(int) - Method in class javax.swing.border.TitledBorder
- Sets the horizontal alignment of the title text in relation to the border.
- setTitlePosition(int) - Method in class javax.swing.border.TitledBorder
- Sets the vertical position of the title text in relation to the border.
- shadow - Variable in class javax.swing.border.EtchedBorder
- The shadow color, or
nullto indicate that the color shall be derived from the background of the enclosed component. - shadowInner - Variable in class javax.swing.border.BevelBorder
- The inner shadow color, or
nullto indicate that the color shall be derived from the background of the component whose border is being painted. - shadowOuter - Variable in class javax.swing.border.BevelBorder
- The outer shadow color, or
nullto indicate that the color shall be derived from the background of the component whose border is being painted.
T
- TEXT_INSET_H - Static variable in class javax.swing.border.TitledBorder
- The number of pixels between the outside of this TitledBorder and the beginning (if left-aligned) or end (if right-aligned) of the title text.
- TEXT_SPACING - Static variable in class javax.swing.border.TitledBorder
- The number of pixels between the title text and
TitledBorder.border55 . - TOP - Static variable in class javax.swing.border.TitledBorder
- A value for the
titlePositionproperty that vertically positions the title text at the middle of the top line of the border. - TRAILING - Static variable in class javax.swing.border.TitledBorder
- A value for the
titleJustificationproperty that horizontally aligns the title text with either the right or the left edge of the border, depending on the orientation of the component nested into the border. - TitledBorder - class javax.swing.border.TitledBorder.
- A border that paints a title on top of another border.
- TitledBorder(String) - Constructor for class javax.swing.border.TitledBorder
- Constructs a TitledBorder given the text of its title.
- TitledBorder(Border) - Constructor for class javax.swing.border.TitledBorder
- Constructs an initially untitled TitledBorder given another border.
- TitledBorder(Border, String) - Constructor for class javax.swing.border.TitledBorder
- Constructs a TitledBorder given its border and title text.
- TitledBorder(Border, String, int, int) - Constructor for class javax.swing.border.TitledBorder
- Constructs a TitledBorder given its border, title text, horizontal alignment, and vertical position.
- TitledBorder(Border, String, int, int, Font) - Constructor for class javax.swing.border.TitledBorder
- Constructs a TitledBorder given its border, title text, horizontal alignment, vertical position, and font.
- TitledBorder(Border, String, int, int, Font, Color) - Constructor for class javax.swing.border.TitledBorder
- Constructs a TitledBorder given its border, title text, horizontal alignment, vertical position, font, and color.
- TitledBorder.Measurements - class javax.swing.border.TitledBorder.Measurements.
- A private helper class for holding the result of measuring the distances of a TitledBorder.
- TitledBorder.Measurements() - Constructor for class javax.swing.border.TitledBorder.Measurements
- textAscent - Variable in class javax.swing.border.TitledBorder.Measurements
- The number of pixels between the base line and the top of the text box.
- textDescent - Variable in class javax.swing.border.TitledBorder.Measurements
- The number of pixels between the base line and the bottom of the text box.
- textWidth - Variable in class javax.swing.border.TitledBorder.Measurements
- The width of the trimmed title text in pixels.
- thickness - Variable in class javax.swing.border.LineBorder
- The width of the line in pixels.
- tileIcon - Variable in class javax.swing.border.MatteBorder
- The icon is used for filling the border with a tile, or
nullif the border is filled with a solid color. - title - Variable in class javax.swing.border.TitledBorder
- The title, or
nullto display no title. - titleColor - Variable in class javax.swing.border.TitledBorder
- The color for displaying the title text.
- titleFont - Variable in class javax.swing.border.TitledBorder
- The font for displaying the title text.
- titleJustification - Variable in class javax.swing.border.TitledBorder
- The horizontal alignment of the title text in relation to the
border, which is one of
TitledBorder.LEFT55 ,TitledBorder.CENTER55 ,TitledBorder.RIGHT55 ,TitledBorder.LEADING55 ,TitledBorder.TRAILING55 , orTitledBorder.DEFAULT_JUSTIFICATION55 . - titlePosition - Variable in class javax.swing.border.TitledBorder
- The vertical position of the title text relative to the border,
which is one of
TitledBorder.ABOVE_TOP55 ,TitledBorder.TOP55 ,TitledBorder.BELOW_TOP55 ,TitledBorder.ABOVE_BOTTOM55 ,TitledBorder.BOTTOM55 ,TitledBorder.BELOW_BOTTOM55 , orTitledBorder.DEFAULT_POSITION55 . - top - Variable in class javax.swing.border.EmptyBorder
- The number of pixels required at the top edge.
- trimmedText - Variable in class javax.swing.border.TitledBorder.Measurements
- The title text after removing leading and trailing white space characters.
A B C D E F G H I J L M O P R S T
|
|||||||||
| Home >> All >> javax >> swing >> [ border overview ] | PREV NEXT | ||||||||