public static class

MotifBorders.InternalFrameBorder

extends MotifBorders.FrameBorder
java.lang.Object
   ↳ javax.swing.border.AbstractBorder
     ↳ com.sun.java.swing.plaf.motif.MotifBorders.FrameBorder
       ↳ com.sun.java.swing.plaf.motif.MotifBorders.InternalFrameBorder

Summary

Constants
int CORNER_SIZE
[Expand]
Inherited Constants
From class com.sun.java.swing.plaf.motif.MotifBorders.FrameBorder
Public Constructors
MotifBorders.InternalFrameBorder(JInternalFrame aFrame)
Constructs an InternalFrameBorder for the InternalFrame aFrame.
Public Methods
JInternalFrame frame()
Returns the InternalFrameBorder's InternalFrame.
int resizePartWidth()
Returns the width of the InternalFrameBorder's resize controls, appearing along the InternalFrameBorder's bottom border.
void setFrame(JInternalFrame aFrame)
Sets the InternalFrameBorder's InternalFrame.
Protected Methods
boolean drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the InternalFrameBorder's bottom border.
boolean drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the InternalFrameBorder's left border.
boolean drawRightBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the InternalFrameBorder's right border.
boolean drawTopBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the InternalFrameBorder's top border.
boolean isActiveFrame()
[Expand]
Inherited Methods
From class com.sun.java.swing.plaf.motif.MotifBorders.FrameBorder
From class javax.swing.border.AbstractBorder
From class java.lang.Object
From interface javax.swing.border.Border

Constants

public static final int CORNER_SIZE

Constant Value: 24 (0x00000018)

Public Constructors

public MotifBorders.InternalFrameBorder (JInternalFrame aFrame)

Constructs an InternalFrameBorder for the InternalFrame aFrame.

Public Methods

public JInternalFrame frame ()

Returns the InternalFrameBorder's InternalFrame.

public int resizePartWidth ()

Returns the width of the InternalFrameBorder's resize controls, appearing along the InternalFrameBorder's bottom border. Clicking and dragging within these controls lets the user change both the InternalFrame's width and height, while dragging between the controls constrains resizing to just the vertical dimension. Override this method if you implement your own bottom border painting and use a resize control with a different size.

public void setFrame (JInternalFrame aFrame)

Sets the InternalFrameBorder's InternalFrame.

Protected Methods

protected boolean drawBottomBorder (Component c, Graphics g, int x, int y, int width, int height)

Draws the InternalFrameBorder's bottom border.

protected boolean drawLeftBorder (Component c, Graphics g, int x, int y, int width, int height)

Draws the InternalFrameBorder's left border.

protected boolean drawRightBorder (Component c, Graphics g, int x, int y, int width, int height)

Draws the InternalFrameBorder's right border.

protected boolean drawTopBorder (Component c, Graphics g, int x, int y, int width, int height)

Draws the InternalFrameBorder's top border.

protected boolean isActiveFrame ()