| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.xGui.DashedBorder
public class DashedBorder
Part of the extra Gui functions. 
 Implements the dashed border layout of a box.
| Constructor Summary | |
|---|---|
| DashedBorder()Creates a new DashedBorder. | |
| DashedBorder(java.awt.Color pColor,
             int pWidth,
             int pHeight)Creates a new DashedBorder. | |
| Method Summary | |
|---|---|
|  java.awt.Insets | getBorderInsets(java.awt.Component pComponent)Returns the insets of the border. | 
|  boolean | isBorderOpaque()The border is never opaque so this function returns false. | 
|  void | paintBorder(java.awt.Component pComponent,
            java.awt.Graphics pGraphics,
            int pX,
            int pY,
            int pWidth,
            int pHeight)Paints the border for the specified component with the specified position and size. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DashedBorder()
public DashedBorder(java.awt.Color pColor,
                    int pWidth,
                    int pHeight)
pColor - the colour of the borderpWidth - the size of the dashespHeight - the size of the dashes| Method Detail | 
|---|
public void paintBorder(java.awt.Component pComponent,
                        java.awt.Graphics pGraphics,
                        int pX,
                        int pY,
                        int pWidth,
                        int pHeight)
paintBorder in interface javax.swing.border.BorderpComponent - the component for which this border is being paintedpGraphics - the paint graphicspX - the x position of the painted borderpY - the y position of the painted borderpWidth - the width of the painted borderpHeight - the height of the painted borderpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Borderpublic java.awt.Insets getBorderInsets(java.awt.Component pComponent)
getBorderInsets in interface javax.swing.border.BorderpComponent - the component for which this border insets value applies| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||