| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void |
| MotifBorders | back to summary |
|---|---|
| public MotifBorders() | |
| drawBezel | back to summary |
|---|---|
| public static void drawBezel(Graphics g, int x, int y, int w, int h, boolean isPressed, boolean hasFocus, Color shadow, Color highlight, Color darkShadow, Color focus) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component c, Insets insets)
Overrides javax. Reinitializes the insets parameter with this Border's current Insets. |
| public boolean | |
| public void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Overrides javax. Implements javax. This default implementation does no painting. |
| darkShadow | back to summary |
|---|---|
| private Color darkShadow | |
| isRaised | back to summary |
|---|---|
| private boolean isRaised | |
| lightShadow | back to summary |
|---|---|
| private Color lightShadow | |
| BevelBorder | back to summary |
|---|---|
| public BevelBorder(boolean isRaised, Color darkShadow, Color lightShadow) | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides javax. Doc from javax. Reinitializes the insets parameter with this Border's current Insets.
| |
| isOpaque | back to summary |
|---|---|
| public boolean isOpaque(Component c) | |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) Overrides javax. Implements javax. Doc from javax. This default implementation does no painting.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected Color | |
| protected Color | |
| protected Color | |
| protected Color |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component c, Insets insets)
Overrides javax. Reinitializes the insets parameter with this Border's current Insets. |
| public void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Overrides javax. Implements javax. This default implementation does no painting. |
| darkShadow | back to summary |
|---|---|
| protected Color darkShadow | |
| focus | back to summary |
|---|---|
| protected Color focus | |
| highlight | back to summary |
|---|---|
| protected Color highlight | |
| shadow | back to summary |
|---|---|
| protected Color shadow | |
| ButtonBorder | back to summary |
|---|---|
| public ButtonBorder(Color shadow, Color highlight, Color darkShadow, Color focus) | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides javax. Doc from javax. Reinitializes the insets parameter with this Border's current Insets.
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) Overrides javax. Implements javax. Doc from javax. This default implementation does no painting.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component c, Insets insets)
Overrides javax. Reinitializes the insets parameter with this Border's current Insets. |
| public void | paintBorder(Component c, Graphics g, int x, int y, int w, int h)
Overrides javax. Implements javax. This default implementation does no painting. |
| FocusBorder | back to summary |
|---|---|
| public FocusBorder(Color control, Color focus) | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides javax. Doc from javax. Reinitializes the insets parameter with this Border's current Insets.
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) Overrides javax. Implements javax. Doc from javax. This default implementation does no painting.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| pack-priv Color | |
| pack-priv Color | |
| pack-priv Color | |
| pack-priv JComponent |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JComponent | |
| protected boolean | drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the FrameBorder's bottom border. |
| protected boolean | drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the FrameBorder's left border. |
| protected boolean | drawRightBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the FrameBorder's right border. |
| protected boolean | drawTopBorder(Component c, Graphics g, int x, int y, int width, int height)
Draws the FrameBorder's top border. |
| public Insets | getBorderInsets(Component c, Insets newInsets)
Overrides javax. Reinitializes the insets parameter with this Border's current Insets. |
| protected Color | |
| protected Color | |
| protected Color | |
| protected boolean | |
| public void | paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides javax. Implements javax. Draws the FrameBorder in the given Rect. |
| public void |
| BORDER_SIZE | back to summary |
|---|---|
| public static final int BORDER_SIZE | |
| frameColor | back to summary |
|---|---|
| pack-priv Color frameColor | |
| frameHighlight | back to summary |
|---|---|
| pack-priv Color frameHighlight | |
| frameShadow | back to summary |
|---|---|
| pack-priv Color frameShadow | |
| jcomp | back to summary |
|---|---|
| pack-priv JComponent jcomp | |
| FrameBorder | back to summary |
|---|---|
| public FrameBorder(JComponent comp) Constructs an FrameBorder for the JComponent comp. | |
| component | back to summary |
|---|---|
| public JComponent component() Returns the FrameBorder's JComponent.
| |
| drawBottomBorder | back to summary |
|---|---|
| protected boolean drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height) Draws the FrameBorder's bottom border. | |
| drawLeftBorder | back to summary |
|---|---|
| protected boolean drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height) Draws the FrameBorder's left border. | |
| drawRightBorder | back to summary |
|---|---|
| protected boolean drawRightBorder(Component c, Graphics g, int x, int y, int width, int height) Draws the FrameBorder's right border. | |
| drawTopBorder | back to summary |
|---|---|
| protected boolean drawTopBorder(Component c, Graphics g, int x, int y, int width, int height) Draws the FrameBorder's top border. | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets newInsets) Overrides javax. Doc from javax. Reinitializes the insets parameter with this Border's current Insets.
| |
| getFrameColor | back to summary |
|---|---|
| protected Color getFrameColor() | |
| getFrameHighlight | back to summary |
|---|---|
| protected Color getFrameHighlight() | |
| getFrameShadow | back to summary |
|---|---|
| protected Color getFrameShadow() | |
| isActiveFrame | back to summary |
|---|---|
| protected boolean isActiveFrame() | |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides javax. Implements javax. Draws the FrameBorder in the given Rect. Calls drawTitleBar, drawLeftBorder, drawRightBorder and drawBottomBorder.
| |
| setComponent | back to summary |
|---|---|
| public void setComponent(JComponent comp) Sets the FrameBorder's JComponent. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| pack-priv JInternalFrame |
| Access | Constructor and Description |
|---|---|
| public | InternalFrameBorder(JInternalFrame aFrame)
Constructs an InternalFrameBorder for the InternalFrame aFrame. |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides com. Draws the InternalFrameBorder's bottom border. |
| protected boolean | drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides com. Draws the InternalFrameBorder's left border. |
| protected boolean | drawRightBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides com. Draws the InternalFrameBorder's right border. |
| protected boolean | drawTopBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides com. Draws the InternalFrameBorder's top border. |
| public JInternalFrame | |
| protected boolean | |
| public int | resizePartWidth()
Returns the width of the InternalFrameBorder's resize controls, appearing along the InternalFrameBorder's bottom border. |
| public void |
| CORNER_SIZE | back to summary |
|---|---|
| public static final int CORNER_SIZE | |
| frame | back to summary |
|---|---|
| pack-priv JInternalFrame frame | |
| InternalFrameBorder | back to summary |
|---|---|
| public InternalFrameBorder(JInternalFrame aFrame) Constructs an InternalFrameBorder for the InternalFrame aFrame. | |
| drawBottomBorder | back to summary |
|---|---|
| protected boolean drawBottomBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides com. Draws the InternalFrameBorder's bottom border.
| |
| drawLeftBorder | back to summary |
|---|---|
| protected boolean drawLeftBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides com. Draws the InternalFrameBorder's left border.
| |
| drawRightBorder | back to summary |
|---|---|
| protected boolean drawRightBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides com. Draws the InternalFrameBorder's right border.
| |
| drawTopBorder | back to summary |
|---|---|
| protected boolean drawTopBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides com. Draws the InternalFrameBorder's top border.
| |
| frame | back to summary |
|---|---|
| public JInternalFrame frame() Returns the InternalFrameBorder's InternalFrame.
| |
| isActiveFrame | back to summary |
|---|---|
| protected boolean isActiveFrame() Overrides com.
| |
| resizePartWidth | back to summary |
|---|---|
| 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. | |
| setFrame | back to summary |
|---|---|
| public void setFrame(JInternalFrame aFrame) Sets the InternalFrameBorder's InternalFrame. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component c, Insets insets)
Overrides com. Reinitializes the insets parameter with this Border's current Insets. |
| public void | paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides com. Implements javax. This default implementation does no painting. |
| MenuBarBorder | back to summary |
|---|---|
| public MenuBarBorder(Color shadow, Color highlight, Color darkShadow, Color focus) | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides com. Doc from javax. Reinitializes the insets parameter with this Border's current Insets.
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides com. Implements javax. Doc from javax. This default implementation does no painting.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected Color | |
| protected Font | |
| protected Color | |
| protected static final int | |
| protected Color | |
| protected Color | |
| protected static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component
the component for which this border insets value applies c, Insets the object to be reinitialized insets)Overrides javax. Reinitialize the insets parameter with this Border's current Insets. |
| public void | paintBorder(Component
the component for which this border is being painted c, Graphics the paint graphics g, int the x position of the painted border x, int the y position of the painted border y, int the width of the painted border width, int the height of the painted border height)Overrides javax. Implements javax. Paints the border for the specified component with the specified position and size. |
| background | back to summary |
|---|---|
| protected Color background | |
| font | back to summary |
|---|---|
| protected Font font | |
| foreground | back to summary |
|---|---|
| protected Color foreground | |
| GROOVE_HEIGHT | back to summary |
|---|---|
| protected static final int GROOVE_HEIGHT | |
| highlightColor | back to summary |
|---|---|
| protected Color highlightColor | |
| shadowColor | back to summary |
|---|---|
| protected Color shadowColor | |
| TEXT_SPACING | back to summary |
|---|---|
| protected static final int TEXT_SPACING | |
| MotifPopupMenuBorder | back to summary |
|---|---|
| public MotifPopupMenuBorder(Font titleFont, Color bgColor, Color fgColor, Color shadow, Color highlight) Creates a MotifPopupMenuBorder instance | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides javax. Reinitialize the insets parameter with this Border's current Insets. | |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides javax. Implements javax. Paints the border for the specified component with the specified position and size. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Insets | getBorderInsets(Component c, Insets insets)
Overrides com. Reinitializes the insets parameter with this Border's current Insets. |
| public void | paintBorder(Component c, Graphics g, int x, int y, int width, int height)
Overrides com. Implements javax. This default implementation does no painting. |
| ToggleButtonBorder | back to summary |
|---|---|
| public ToggleButtonBorder(Color shadow, Color highlight, Color darkShadow, Color focus) | |
| getBorderInsets | back to summary |
|---|---|
| public Insets getBorderInsets(Component c, Insets insets) Overrides com. Doc from javax. Reinitializes the insets parameter with this Border's current Insets.
| |
| paintBorder | back to summary |
|---|---|
| public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) Overrides com. Implements javax. Doc from javax. This default implementation does no painting.
| |