public abstract class TextlikeComponent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TextlikeComponent.TableTextComponent |
static class |
TextlikeComponent.TextLikeCodeEditor |
static class |
TextlikeComponent.TextLikeComboBox |
static class |
TextlikeComponent.TextLikeTextComponent |
Constructor and Description |
---|
TextlikeComponent() |
Modifier and Type | Method and Description |
---|---|
abstract java.awt.Component |
getInternalComponent() |
abstract java.lang.String |
getText() |
static TextlikeComponent |
of(com.jidesoft.editor.CodeEditor comp) |
static TextlikeComponent |
of(javax.swing.JComboBox comp) |
static TextlikeComponent |
of(javax.swing.JTable comp,
int column)
Uses the currently selected row of the table
|
static TextlikeComponent |
of(javax.swing.text.JTextComponent comp) |
abstract void |
requestFocus() |
abstract void |
setText(java.lang.String text)
Inserts text into the component.
|
public abstract void setText(java.lang.String text)
public abstract void requestFocus()
public abstract java.lang.String getText()
public abstract java.awt.Component getInternalComponent()
public static TextlikeComponent of(com.jidesoft.editor.CodeEditor comp)
public static TextlikeComponent of(javax.swing.text.JTextComponent comp)
public static TextlikeComponent of(javax.swing.JComboBox comp)
public static TextlikeComponent of(javax.swing.JTable comp, int column)