|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.forms.AbstractFormField<java.lang.String>
com.partnersoft.gui.forms.FormTextField
public class FormTextField
A FormField that allows you to modify multi-lined text.
Copyright 2008 Partner Software, Inc.
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.gui.forms.AbstractFormField |
|---|
gui |
| Constructor Summary | |
|---|---|
FormTextField()
|
|
FormTextField(boolean scrollingEnabled,
boolean navigationBarEnabled)
|
|
FormTextField(int columns,
int rows)
|
|
| Method Summary | |
|---|---|
boolean |
find(java.lang.String text,
boolean incremental,
boolean forward,
boolean matchCase,
boolean wholeWord,
boolean regex)
|
boolean |
findIncremental(java.lang.String text)
|
boolean |
findNext(java.lang.String text)
|
boolean |
findPrevious(java.lang.String text)
|
int |
getColumnCount()
|
int |
getCurrentLineNumber()
Get the number of the line where the caret is. |
java.awt.Component |
getCustomNavigationControls()
|
FormStringField |
getFindField()
|
javax.swing.JPanel |
getNavigationBar()
|
int |
getRowCount()
|
org.fife.ui.rsyntaxtextarea.RSyntaxTextArea |
getRSyntaxTextArea()
|
java.lang.String |
getSyntaxStyle()
|
java.lang.String |
getValue()
Returns the current value for this field. |
void |
highlightLine(int lineNumber)
Highlights the line at the given number. |
boolean |
isEditable()
|
boolean |
isNavigationBarEnabled()
|
boolean |
isScrollingEnabled()
|
boolean |
replace(java.lang.String text,
java.lang.String replacement,
boolean forward,
boolean matchCase,
boolean wholeWord,
boolean regex)
|
boolean |
replaceNext(java.lang.String text,
java.lang.String replacement)
|
boolean |
replacePrevious(java.lang.String text,
java.lang.String replacement)
|
void |
setColumnAndRowCount(int columnCount,
int rowCount)
|
void |
setColumnCount(int newCount)
|
void |
setCustomNavigationControls(java.awt.Component controls)
|
void |
setEditable(boolean editable)
|
void |
setNavigationBarEnabled(boolean navigationBarEnabled)
|
void |
setRowCount(int newCount)
|
void |
setScrollingEnabled(boolean scrollingEnabled)
|
void |
setSyntaxStyle(java.lang.String syntaxStyle)
Sets the syntax coloring mode for the editor. |
void |
setSyntaxStyleForFile(VfsFile file)
Sets the syntax coloring mode for the editor based on the actual file. |
void |
setValue(java.lang.String newValue)
Sets the current value for this field. |
| Methods inherited from class com.partnersoft.gui.forms.AbstractFormField |
|---|
addFieldListener, doAction, fireActionRequested, fireValueChanged, getGui, isDisabled, removeFieldListener, setDisabled, setToolTipText, valueChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormTextField(int columns,
int rows)
public FormTextField()
public FormTextField(boolean scrollingEnabled,
boolean navigationBarEnabled)
| Method Detail |
|---|
public java.lang.String getValue()
FormField
public void setValue(java.lang.String newValue)
FormField
public org.fife.ui.rsyntaxtextarea.RSyntaxTextArea getRSyntaxTextArea()
public int getCurrentLineNumber()
public void highlightLine(int lineNumber)
lineNumber - public int getColumnCount()
public void setColumnCount(int newCount)
public int getRowCount()
public void setRowCount(int newCount)
public void setColumnAndRowCount(int columnCount,
int rowCount)
public boolean isNavigationBarEnabled()
public void setNavigationBarEnabled(boolean navigationBarEnabled)
public boolean isScrollingEnabled()
public void setScrollingEnabled(boolean scrollingEnabled)
public void setEditable(boolean editable)
public boolean isEditable()
public javax.swing.JPanel getNavigationBar()
public java.lang.String getSyntaxStyle()
public void setSyntaxStyle(java.lang.String syntaxStyle)
syntaxStyle - public void setSyntaxStyleForFile(VfsFile file)
public boolean find(java.lang.String text,
boolean incremental,
boolean forward,
boolean matchCase,
boolean wholeWord,
boolean regex)
public boolean replace(java.lang.String text,
java.lang.String replacement,
boolean forward,
boolean matchCase,
boolean wholeWord,
boolean regex)
public boolean findIncremental(java.lang.String text)
public boolean findNext(java.lang.String text)
public boolean findPrevious(java.lang.String text)
public boolean replaceNext(java.lang.String text,
java.lang.String replacement)
public boolean replacePrevious(java.lang.String text,
java.lang.String replacement)
public void setCustomNavigationControls(java.awt.Component controls)
public java.awt.Component getCustomNavigationControls()
public FormStringField getFindField()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||