VdexReload 1.1.3 API

uk.ac.reload.dweezil.gui.widgets
Interface ReloadWidget

All Known Implementing Classes:
ReloadButtonTextArea, ReloadButtonTextField, ReloadButtonTextPane, ReloadFileTextField, ReloadFormattedTextField, ReloadListBox, ReloadTextArea, ReloadTextField, ReloadTextPane

public interface ReloadWidget

A ReloadWidget behaviour Interface


Method Summary
 void addDocumentListener(javax.swing.event.DocumentListener dl)
          Add a Document Listener
 java.lang.String getTextValue()
          Get the value of this Widget
 void insertTextValue(java.lang.String text)
          Insert some text
 boolean isSingleLine()
          Determine whether this widget only needs a single line to display itself
 void removeDocumentListener(javax.swing.event.DocumentListener dl)
          Remove a Document Listener
 void setMaxLength(int maxLength)
          Set the max length of the Widget
 void setTextValue(java.lang.String text)
          Set the text value of the Widget
 

Method Detail

getTextValue

public java.lang.String getTextValue()
Get the value of this Widget

Returns:
The value contained in the Widget

setTextValue

public void setTextValue(java.lang.String text)
Set the text value of the Widget

Parameters:
text - the value to be set for this widget

insertTextValue

public void insertTextValue(java.lang.String text)
Insert some text

Parameters:
text - the text to be inserted

setMaxLength

public void setMaxLength(int maxLength)
Set the max length of the Widget

Parameters:
maxLength - the max length of the widget

isSingleLine

public boolean isSingleLine()
Determine whether this widget only needs a single line to display itself

Returns:
true if this widget needs only a single line to display itself, false otherwise

addDocumentListener

public void addDocumentListener(javax.swing.event.DocumentListener dl)
Add a Document Listener

Parameters:
dl - the DocumentListener to add

removeDocumentListener

public void removeDocumentListener(javax.swing.event.DocumentListener dl)
Remove a Document Listener

Parameters:
dl - the DocumentListener to remove

VdexReload 1.1.3 API