com.datamessenger.awt.graphics
Class ButtonPane


java.lang.Object

  |

  +--java.awt.geom.RectangularShape

        |

        +--java.awt.geom.Rectangle2D

              |

              +--java.awt.Rectangle

                    |

                    +--com.datamessenger.awt.graphics.GraphicsPane

                          |

                          +--com.datamessenger.awt.graphics.ButtonPane


public class ButtonPane
extends GraphicsPane

See Also:
Serialized Form

Inner classes inherited from class java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
 
Field Summary
static int ALL_BUTTONS
           
protected  GraphicsPane dnbackground
           
protected  Border dnborder
           
static int DOWN_BUTTON
           
static int HOVER_BUTTON
           
protected  GraphicsPane hvbackground
           
protected  Border hvborder
           
 int offsetx
           
 int offsety
           
static int UP_BUTTON
           
protected  GraphicsPane upbackground
           
protected  Border upborder
           
 
Fields inherited from class com.datamessenger.awt.graphics.GraphicsPane
colors, colorState, isTransparent, paneList, silentValidate
 
Fields inherited from class java.awt.Rectangle
height, width, x, y
 
Fields inherited from class java.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
 
Constructor Summary
ButtonPane(int offsetx, int offsety)
           
 
Method Summary
 GraphicsPane getBackground(int state)
           
 int getButtonState()
           
 java.awt.Rectangle getLayoutBounds()
           
 void pack()
           
 void setBackground(GraphicsPane bg, int state)
           
 void setBorder(Border b, int state)
           
 void setButtonState(int state)
           
 
Methods inherited from class com.datamessenger.awt.graphics.GraphicsPane
add, getBorder, getColors, getColorScheme, getComponent, getContainerContext, getFont, getLayout, getTree, invalidate, layout, layoutGraphics, paint, paintGraphics, remove, repaint, revalidate, setBorder, setColorScheme, setContainerContext, setFont, setLayout, translate, translate
 
Methods inherited from class java.awt.Rectangle
add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, union
 
Methods inherited from class java.awt.geom.Rectangle2D
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
 
Methods inherited from class java.awt.geom.RectangularShape
clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UP_BUTTON


public static final int UP_BUTTON

DOWN_BUTTON


public static final int DOWN_BUTTON

HOVER_BUTTON


public static final int HOVER_BUTTON

ALL_BUTTONS


public static final int ALL_BUTTONS

upborder


protected Border upborder

dnborder


protected Border dnborder

hvborder


protected Border hvborder

upbackground


protected GraphicsPane upbackground

dnbackground


protected GraphicsPane dnbackground

hvbackground


protected GraphicsPane hvbackground

offsetx


public int offsetx

offsety


public int offsety
Constructor Detail

ButtonPane


public ButtonPane(int offsetx,

                  int offsety)
Method Detail

getLayoutBounds


public java.awt.Rectangle getLayoutBounds()
Overrides:
getLayoutBounds in class GraphicsPane

setButtonState


public void setButtonState(int state)

getButtonState


public int getButtonState()

pack


public void pack()
Overrides:
pack in class GraphicsPane

setBorder


public void setBorder(Border b,

                      int state)

setBackground


public void setBackground(GraphicsPane bg,

                          int state)

getBackground


public GraphicsPane getBackground(int state)


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.