thinwire.ui
Interface CheckedComponent

All Superinterfaces:
Component, TextComponent
All Known Implementing Classes:
CheckBox, RadioButton

public interface CheckedComponent
extends TextComponent


Field Summary
static java.lang.String PROPERTY_CHECKED
           
 
Fields inherited from interface thinwire.ui.TextComponent
PROPERTY_TEXT
 
Fields inherited from interface thinwire.ui.Component
ACTION_CLICK, ACTION_DOUBLE_CLICK, PROPERTY_ENABLED, PROPERTY_FOCUS, PROPERTY_FOCUS_CAPABLE, PROPERTY_HEIGHT, PROPERTY_LIMIT, PROPERTY_USER_OBJECT, PROPERTY_VISIBLE, PROPERTY_WIDTH, PROPERTY_X, PROPERTY_Y
 
Method Summary
 boolean isChecked()
          Return whether the CheckBox is checked.
 void setChecked(boolean checked)
          Programmatically sets or clears the checkbox.
 
Methods inherited from interface thinwire.ui.TextComponent
getText, setText
 
Methods inherited from interface thinwire.ui.Component
addActionListener, addActionListener, addDropListener, addDropListener, addKeyPressListener, addKeyPressListener, addPropertyChangeListener, addPropertyChangeListener, fireAction, fireAction, fireAction, fireDrop, fireDrop, fireDrop, fireKeyPress, fireKeyPress, getContainer, getHeight, getLabel, getLimit, getParent, getStyle, getUserObject, getWidth, getX, getY, isEnabled, isFocus, isFocusCapable, isVisible, removeActionListener, removeDropListener, removeKeyPressListener, removePropertyChangeListener, setBounds, setEnabled, setFocus, setFocusCapable, setHeight, setLimit, setPosition, setSize, setUserObject, setVisible, setWidth, setX, setY
 

Field Detail

PROPERTY_CHECKED

static final java.lang.String PROPERTY_CHECKED
See Also:
Constant Field Values
Method Detail

isChecked

boolean isChecked()
Return whether the CheckBox is checked.

Returns:
whether the box is checked.

setChecked

void setChecked(boolean checked)
Programmatically sets or clears the checkbox.

Parameters:
checked - true to set this CheckBox, false to clear it.


ThinWire® is a registered of Custom Credit Systems  Copyright © 2007 All rights reserved.
ThinWire_is_Open_Source_under_the_terms_of_the_LGPLv2.1 SourceForge.net_Project_Page java.net_Member Support_ThinWire,_Digg_our_Story