com.datamessenger.awt.graphics
Class Border


java.lang.Object

  |

  +--com.datamessenger.awt.graphics.Layout

        |

        +--com.datamessenger.awt.graphics.Border

Direct Known Subclasses:
RoundBorder

public class Border
extends Layout


Field Summary
static int ETCHED
           
 boolean fill
           
static int FLAT
           
static int RAISED
           
 boolean soft
           
 
Fields inherited from class com.datamessenger.awt.graphics.Layout
insets, offsetx, offsety
 
Constructor Summary
Border(int style, int width, int thickness)
           
 
Method Summary
 void paint(GraphicsPane target, java.awt.Graphics g)
           
 void paint3DEdge(java.awt.Rectangle rt, java.awt.Graphics g, int offset, boolean raised)
           
 void paintFill(java.awt.Rectangle rt, java.awt.Graphics g)
           
 void paintFlatEdge(java.awt.Rectangle rt, java.awt.Graphics g, int offset)
           
 
Methods inherited from class com.datamessenger.awt.graphics.Layout
getInsets, getPreferredSize, pack, unpack, updateLayout, updateLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLAT


public static final int FLAT

RAISED


public static final int RAISED

ETCHED


public static final int ETCHED

fill


public boolean fill

soft


public boolean soft
Constructor Detail

Border


public Border(int style,

              int width,

              int thickness)
Method Detail

paint


public void paint(GraphicsPane target,

                  java.awt.Graphics g)

paintFill


public void paintFill(java.awt.Rectangle rt,

                      java.awt.Graphics g)

paintFlatEdge


public void paintFlatEdge(java.awt.Rectangle rt,

                          java.awt.Graphics g,

                          int offset)

paint3DEdge


public void paint3DEdge(java.awt.Rectangle rt,

                        java.awt.Graphics g,

                        int offset,

                        boolean raised)


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.