luxor.swing.input
Class XButton
java.lang.Object
|
+--luxor.swing.AbstractComponent
|
+--luxor.swing.input.AbstractInput
|
+--luxor.swing.input.XButton
- All Implemented Interfaces:
- NComponent, NInput
- public class XButton
- extends AbstractInput
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XButton
public XButton(ButtonDef 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