|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.text.JTextComponent | +--javax.swing.JTextArea | +--au.edu.swin.synergy.lib.BTextArea
Extends JTextArea and overrides the isManagingFocus() method so that it returns false. This means that Tab key events will result in the focus transferred, instead of inserting a tab into the text area.
Inner classes inherited from class javax.swing.JTextArea |
JTextArea.AccessibleJTextArea |
Inner classes inherited from class javax.swing.text.JTextComponent |
JTextComponent.AccessibleJTextComponent,
JTextComponent.KeyBinding |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.text.JTextComponent |
DEFAULT_KEYMAP,
FOCUS_ACCELERATOR_KEY |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
BTextArea()
Constructs a new TextArea, with default settings (default model, null string, rows/columns = 0) |
|
BTextArea(Document doc)
Constructs a new JTextArea with the given document model, and defaults for all of the other arguments (null, 0, 0). |
|
BTextArea(Document doc,
String text,
int rows,
int columns)
Constructs a new JTextArea with the specified number of rows and columns, and the given model. |
|
BTextArea(int rows,
int columns)
Constructs a new empty TextArea with the specified number of rows and columns. |
|
BTextArea(String text)
Constructs a new TextArea with the specified text displayed. |
|
BTextArea(String text,
int rows,
int columns)
Constructs a new TextArea with the specified text and number of rows and columns. |
Method Summary | |
boolean |
isManagingFocus()
Overrides isManagingFocus() in JTextArea, so that it returns true instead of true. |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BTextArea()
public BTextArea(String text)
text
- the text to be displayed, or nullpublic BTextArea(int rows, int columns)
rows
- the number of rows >= 0columns
- the number of columns >= 0public BTextArea(String text, int rows, int columns)
text
- the text to be displayed, or nullrows
- the number of rows >= 0columns
- the number of columns >= 0public BTextArea(Document doc)
doc
- the model to usepublic BTextArea(Document doc, String text, int rows, int columns)
doc
- the model to use, or create a default one if nulltext
- the text to be displayed, null if nonerows
- the number of rows >= 0columns
- the number of columns >= 0Method Detail |
public boolean isManagingFocus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |