luxor.swing.input
Class XListComboBox

java.lang.Object
  |
  +--luxor.swing.AbstractComponent
        |
        +--luxor.swing.input.AbstractInput
              |
              +--luxor.swing.input.XListComboBox
All Implemented Interfaces:
NComponent, NInput

public class XListComboBox
extends AbstractInput


Constructor Summary
XListComboBox(ChoiceDef def)
           
 
Method Summary
 void addFocusListener(java.awt.event.FocusListener l)
           
 javax.swing.JComponent getJComponent()
           
 javax.swing.JLabel getLabel()
          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
 java.lang.String getText()
           
 boolean isEditable()
           
 void removeFocusListener(java.awt.event.FocusListener l)
           
 void resolveReferences(NComponentResolver resolver)
           
 void setText(java.lang.String text)
           
 boolean useMinHeight()
           
 boolean useMinWidth()
           
 
Methods inherited from class luxor.swing.AbstractComponent
getFlex, getHeight, getId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface luxor.spi.NComponent
getFlex, getHeight, getId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth
 

Constructor Detail

XListComboBox

public XListComboBox(ChoiceDef def)
Method Detail

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 SourceForge Logo