com.datamessenger.awt
Class DMButton


java.lang.Object

  |

  +--java.awt.Component

        |

        +--com.datamessenger.awt.DMComponent

              |

              +--com.datamessenger.awt.DMLabel

                    |

                    +--com.datamessenger.awt.DMButton

Direct Known Subclasses:
DMCheckbox, DMTab

public class DMButton
extends DMLabel

See Also:
Serialized Form

Inner classes inherited from class com.datamessenger.awt.DMComponent
DMComponent.DataListener
 
Field Summary
protected  java.lang.String action_command
           
protected  boolean active
           
protected  ButtonPane button
           
protected  boolean hover
           
 
Fields inherited from class com.datamessenger.awt.DMLabel
text
 
Fields inherited from class com.datamessenger.awt.DMComponent
adapter, colors, isAdjusting, pane, preferredSize, selected
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
DMButton(java.lang.String label)
           
 
Method Summary
 void addActionListener(java.awt.event.ActionListener l)
           
 void addNotify()
           
protected  void fireActionEvent()
           
 ButtonPane getButtonPane()
           
 void invalidate()
           
protected  void processMouseEvent(java.awt.event.MouseEvent e)
           
protected  void processMouseMotionEvent(java.awt.event.MouseEvent e)
           
 void removeActionListener(java.awt.event.ActionListener l)
           
protected  void setButtonState(java.awt.Point p, boolean active, boolean hover)
           
 
Methods inherited from class com.datamessenger.awt.DMLabel
getText, getTextPane, getValue, setText, setValue
 
Methods inherited from class com.datamessenger.awt.DMComponent
getColorScheme, getComponent, getGraphicsPane, getLayoutBounds, getListenerList, getMinimumSize, getPreferredSize, isSelected, paint, setColorScheme, setDataCell, setGraphicsPane, setSelected, update
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

active


protected boolean active

hover


protected boolean hover

button


protected ButtonPane button

action_command


protected java.lang.String action_command
Constructor Detail

DMButton


public DMButton(java.lang.String label)
Method Detail

setButtonState


protected void setButtonState(java.awt.Point p,

                              boolean active,

                              boolean hover)

invalidate


public void invalidate()
Overrides:
invalidate in class DMLabel

getButtonPane


public ButtonPane getButtonPane()

addNotify


public void addNotify()
Overrides:
addNotify in class java.awt.Component

addActionListener


public void addActionListener(java.awt.event.ActionListener l)

removeActionListener


public void removeActionListener(java.awt.event.ActionListener l)

fireActionEvent


protected void fireActionEvent()

processMouseEvent


protected void processMouseEvent(java.awt.event.MouseEvent e)
Overrides:
processMouseEvent in class java.awt.Component

processMouseMotionEvent


protected void processMouseMotionEvent(java.awt.event.MouseEvent e)
Overrides:
processMouseMotionEvent in class java.awt.Component


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.