luxor.swing.input
Class XListCheckBoxGroup
java.lang.Object
|
+--luxor.swing.AbstractComponent
|
+--luxor.swing.input.AbstractInput
|
+--luxor.swing.input.XListCheckBoxGroup
- All Implemented Interfaces:
- NComponent, NInput
- public class XListCheckBoxGroup
- extends AbstractInput
fix: multiple choices are experimental and need to improved substantily
todo: checkbox group allows multiple selection i need to extend input
interface to allow for multiple selections should i use comma separated
value for get/setText?
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XListCheckBoxGroup
public XListCheckBoxGroup(MChoiceDef def)
setText
public void setText(java.lang.String text)
getJComponent
public javax.swing.JComponent getJComponent()
- Specified by:
getJComponent
in interface NComponent
- Specified by:
getJComponent
in class AbstractComponent
getLabel
public javax.swing.JLabel getLabel()
- Description copied from interface:
NInput
- todo: in the future I might use an XValidationLabel/Status interace
instead of a plain vanilla Swing JLabel note: return value might be null
if no label is associated with input control
getText
public java.lang.String getText()
isEditable
public boolean isEditable()
addFocusListener
public void addFocusListener(java.awt.event.FocusListener l)
removeFocusListener
public void removeFocusListener(java.awt.event.FocusListener l)
resolveReferences
public void resolveReferences(NComponentResolver resolver)
useMinHeight
public boolean useMinHeight()
- Specified by:
useMinHeight
in interface NComponent
- Specified by:
useMinHeight
in class AbstractComponent
useMinWidth
public boolean useMinWidth()
- Specified by:
useMinWidth
in interface NComponent
- Specified by:
useMinWidth
in class AbstractComponent
Copyright © 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by