luxor
Class XulInput

java.lang.Object
  |
  +--luxor.XulInput

public class XulInput
extends java.lang.Object


Constructor Summary
XulInput(XulForm form, java.lang.String id)
           
 
Method Summary
 void addValidationHandler(XulInputValidationHandler handler)
           
 java.lang.String getHelpId()
          help id consists of panel id + input id e.g. extension.href cut of _PANEL panel id suffix cut of _INPUT input id suffix
 java.lang.String getId()
           
 javax.swing.JComponent getJComponent()
           
 java.lang.String getName()
          return field name; helpful for error reporting
 java.lang.String getText()
           
 Validator getValidator()
           
 boolean isChecked()
          convenience methods for checkboxes
 boolean isValid()
           
 void onFocusGained()
           
 void onFocusLost()
           
 void setChecked(boolean checked)
           
 void setComponent(NInput comp)
           
 void setText(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XulInput

public XulInput(XulForm form,
                java.lang.String id)
Method Detail

setChecked

public void setChecked(boolean checked)

setComponent

public void setComponent(NInput comp)

setText

public void setText(java.lang.String text)

getHelpId

public java.lang.String getHelpId()
help id consists of panel id + input id e.g. extension.href cut of _PANEL panel id suffix cut of _INPUT input id suffix


getId

public java.lang.String getId()

getJComponent

public javax.swing.JComponent getJComponent()

getName

public java.lang.String getName()
return field name; helpful for error reporting


getText

public java.lang.String getText()

getValidator

public Validator getValidator()

isChecked

public boolean isChecked()
convenience methods for checkboxes


isValid

public boolean isValid()

addValidationHandler

public void addValidationHandler(XulInputValidationHandler handler)

onFocusGained

public void onFocusGained()

onFocusLost

public void onFocusLost()


Copyright © 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo