java.lang.Object | ||
↳ | javax.swing.border.AbstractBorder | |
↳ | com.sun.java.swing.plaf.motif.MotifBorders.FrameBorder |
Known Direct Subclasses |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | BORDER_SIZE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an FrameBorder for the JComponent comp.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the FrameBorder's JComponent.
| |||||||||||
Reinitializes the insets parameter with this Border's current Insets.
| |||||||||||
This default implementation returns a new
Insets
instance where the top , left ,
bottom , and
right fields are set to 0 . | |||||||||||
Draws the FrameBorder in the given Rect.
| |||||||||||
Sets the FrameBorder's JComponent.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Draws the FrameBorder's bottom border.
| |||||||||||
Draws the FrameBorder's left border.
| |||||||||||
Draws the FrameBorder's right border.
| |||||||||||
Draws the FrameBorder's top border.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.border.AbstractBorder
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.swing.border.Border
|
Constructs an FrameBorder for the JComponent comp.
Reinitializes the insets parameter with this Border's current Insets.
c | the component for which this border insets value applies |
---|---|
newInsets | the object to be reinitialized |
insets
object
This default implementation returns a new Insets
instance where the top
, left
,
bottom
, and
right
fields are set to 0
.
c | the component for which this border insets value applies |
---|
Insets
object initialized to 0
Draws the FrameBorder in the given Rect. Calls drawTitleBar, drawLeftBorder, drawRightBorder and drawBottomBorder.
c | the component for which this border is being painted |
---|---|
g | the paint graphics |
x | the x position of the painted border |
y | the y position of the painted border |
width | the width of the painted border |
height | the height of the painted border |
Draws the FrameBorder's bottom border.
Draws the FrameBorder's left border.
Draws the FrameBorder's right border.
Draws the FrameBorder's top border.