All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ejmf.toolkit.gui.controls.StopButton

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----com.sun.java.swing.AbstractButton
                                   |
                                   +----com.sun.java.swing.JButton
                                           |
                                           +----ejmf.toolkit.gui.controls.BasicControlButton
                                                   |
                                                   +----ejmf.toolkit.gui.controls.StopButton

public class StopButton
extends BasicControlButton

Constructor Index

 o StopButton()
Create a StopButton

Method Index

 o paintIcon(Graphics, int, int, int, boolean)
Paint a small square into BasicControlButton

Constructors

 o StopButton
 public StopButton()
Create a StopButton

Methods

 o paintIcon
 protected void paintIcon(Graphics g,
                          int x,
                          int y,
                          int size,
                          boolean isEnabled)
Paint a small square into BasicControlButton

Parameters:
g - Graphics into which rectangles are drawn.
Size - of square.
isEnabled - If true, square is drawn enabled (i.e. black), otherwise, they are offset by (1,1) and drawn with UIManager's controlShadow color.
Overrides:
paintIcon in class BasicControlButton

All Packages  Class Hierarchy  This Package  Previous  Next  Index