|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphenote.gui.field.CharFieldGui
phenote.gui.field.FreeTextField
class FreeTextField
| Field Summary |
|---|
| Fields inherited from class phenote.gui.field.CharFieldGui |
|---|
fieldHeight, inputSize, selectionModel |
| Constructor Summary | |
|---|---|
FreeTextField(CharField charField)
|
|
| Method Summary | |
|---|---|
protected void |
fireErrorEvent(java.lang.String m)
|
protected void |
focusLost()
If user tabs causes a focus lost as well as mouse clicking, (return causes action event) |
protected CharFieldValue |
getCharFieldValue()
Returns the current value as a "character-independent" value (character is null). |
protected java.lang.String |
getConstraintFailureMsg()
|
protected javax.swing.InputVerifier |
getInputVerifier()
overridden by subclasses that verify input (IdFieldGui, IntFieldGui...) |
javax.swing.table.TableCellEditor |
getTableCellEditor()
|
protected java.lang.String |
getText()
|
protected javax.swing.JTextField |
getTextField()
|
protected javax.swing.JComponent |
getUserInputGui()
Get the component used for user input - text field or jCombo |
protected boolean |
hasFocus()
|
protected boolean |
hasInputVerifier()
|
void |
listChanged(ca.odell.glazedlists.event.ListEvent<CharacterI> listChanges)
part of ListEventListener interface. |
protected org.apache.log4j.Logger |
log()
|
protected void |
setCharFieldValue(CharFieldValue value)
|
void |
setText(java.lang.String text)
set text from outside source - sel, load,... |
protected void |
setValueFromChar(CharacterI chr)
|
protected void |
setValueFromChars(java.util.List<CharacterI> characters)
Set the gui from the model (selection) |
protected void |
updateModel()
update model using currently selected chars |
protected boolean |
verify()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
FreeTextField(CharField charField)
| Method Detail |
|---|
public javax.swing.table.TableCellEditor getTableCellEditor()
getTableCellEditor in class CharFieldGuiprotected boolean hasInputVerifier()
protected javax.swing.InputVerifier getInputVerifier()
protected javax.swing.JComponent getUserInputGui()
CharFieldGui
getUserInputGui in class CharFieldGuiprotected javax.swing.JTextField getTextField()
public void setText(java.lang.String text)
setText in class CharFieldGuiprotected java.lang.String getText()
getText in class CharFieldGuiprotected void setValueFromChar(CharacterI chr)
protected void setCharFieldValue(CharFieldValue value)
setCharFieldValue in class CharFieldGuiprotected CharFieldValue getCharFieldValue()
CharFieldGui
getCharFieldValue in class CharFieldGuiprotected void focusLost()
focusLost in class CharFieldGuiprotected boolean hasFocus()
hasFocus in class CharFieldGuipublic void listChanged(ca.odell.glazedlists.event.ListEvent<CharacterI> listChanges)
CharFieldGui
listChanged in interface ca.odell.glazedlists.event.ListEventListener<CharacterI>listChanged in class CharFieldGuiprotected void setValueFromChars(java.util.List<CharacterI> characters)
CharFieldGui
setValueFromChars in class CharFieldGuiprotected void updateModel()
updateModel in class CharFieldGuiprotected void fireErrorEvent(java.lang.String m)
protected boolean verify()
protected java.lang.String getConstraintFailureMsg()
protected org.apache.log4j.Logger log()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||