com.datamessenger.awt
Class DMCheckbox


java.lang.Object

  |

  +--java.awt.Component

        |

        +--com.datamessenger.awt.DMComponent

              |

              +--com.datamessenger.awt.DMLabel

                    |

                    +--com.datamessenger.awt.DMButton

                          |

                          +--com.datamessenger.awt.DMCheckbox


public class DMCheckbox
extends DMButton
implements DataBinder

See Also:
Serialized Form

Inner classes inherited from class com.datamessenger.awt.DMComponent
DMComponent.DataListener
 
Field Summary
protected  boolean checked
           
 
Fields inherited from class com.datamessenger.awt.DMButton
action_command, active, button, 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
DMCheckbox(java.lang.String label, boolean check)
           
 
Method Summary
 boolean getState()
           
 java.lang.Object getValue()
           
 boolean isFocusTraversable()
           
protected  void setButtonState(java.awt.Point p, boolean active, boolean hover)
           
 void setState(boolean checked)
           
 void setValue(java.lang.Object obj)
           
 
Methods inherited from class com.datamessenger.awt.DMButton
addActionListener, addNotify, fireActionEvent, getButtonPane, invalidate, processMouseEvent, processMouseMotionEvent, removeActionListener
 
Methods inherited from class com.datamessenger.awt.DMLabel
getText, getTextPane, setText
 
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, 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

checked


protected boolean checked
Constructor Detail

DMCheckbox


public DMCheckbox(java.lang.String label,

                  boolean check)
Method Detail

setButtonState


protected void setButtonState(java.awt.Point p,

                              boolean active,

                              boolean hover)
Overrides:
setButtonState in class DMButton

setState


public void setState(boolean checked)

getState


public boolean getState()

setValue


public void setValue(java.lang.Object obj)
Overrides:
setValue in class DMLabel

getValue


public java.lang.Object getValue()
Overrides:
getValue in class DMLabel

isFocusTraversable


public boolean isFocusTraversable()
Overrides:
isFocusTraversable 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.