com.togethersoft.openapi.util.ui
Class ResizableDialogBorder
java.lang.Object
|
+--javax.swing.border.AbstractBorder
|
+--javax.swing.border.EmptyBorder
|
+--com.togethersoft.openapi.util.ui.ResizableDialogBorder
- public class ResizableDialogBorder
- extends EmptyBorder
Special empty border with icon which indicate that dialog is resizable at bottom-left corner
- Author:
- TogetherSoft
- Since: Together 5.0
| Fields inherited from class javax.swing.border.EmptyBorder |
left, right, top, bottom |
| Constructor Summary |
ResizableDialogBorder(int top, int left, int bottom, int right) Creates a border for resizable dialog with the specified insets. |
ResizableDialogBorder(Insets borderInsets) Creates a border for resizable dialog with the specified insets. |
| Method Summary |
void | paintBorder(Component c, Graphics g, int x, int y, int width, int height) Draw icon which indicate that dialog is resizable at bottom-left corner |
| Methods inherited from class javax.swing.border.EmptyBorder |
getBorderInsets, getBorderInsets, getBorderInsets, isBorderOpaque |
| Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |
CORNER_ICON
private static Icon CORNER_ICON
ResizableDialogBorder
public ResizableDialogBorder(int top, int left, int bottom, int right)
- Creates a border for resizable dialog with the specified insets.
- Parameters:
- top the top inset of the border
- left the left inset of the border
- bottom the bottom inset of the border
- right the right inset of the border
ResizableDialogBorder
public ResizableDialogBorder(Insets borderInsets)
- Creates a border for resizable dialog with the specified insets.
- Parameters:
- borderInsets the insets of the border
paintBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
- Draw icon which indicate that dialog is resizable at bottom-left corner
to Class javax.swing.Icon