public class EditorConfig extends ControlTextConfig
Modifier and Type | Field and Description |
---|---|
boolean |
autoIndent
AUTO-INDENT Attribute
|
boolean |
box
BOX attribute
|
int |
bufferChars
BUFFER-CHARS Attribute
|
int |
bufferLines
BUFFER-LINES Attribute
|
int |
cursorChar
CURSOR-CHAR Attribute
|
int |
cursorOffset
CURSOR-OFFSET Attribute
|
int |
cursorX
Cursor X position relative to left edge of the inner rectangle of widget (0-based).
|
int |
cursorY
Cursor Y position relative to to edge of the inner rectangle of widget (0-based).
|
boolean |
empty
EMPTY Attribute
|
int |
innerChars
INNER-CHARS Attribute
|
int |
innerLines
The number of text lines in the widget.
|
int |
length
LENGTH Attribute
|
java.lang.Integer |
maxChars
MAX-CHARS Attribute
|
java.lang.String |
mousePointer
MOUSE-POINTER attribute
|
int |
numLines
NUM-LINES Attribute
|
int |
numReplaced
NUM-REPLACED Attribute
|
boolean |
returnInserted
RETURN-INSERTED attribute
|
boolean |
scrollbarHorizontal
SCROLLBAR-HORIZONTAL Attribute
|
boolean |
scrollbarVertical
SCROLLBAR-VERTICAL Attribute
|
int |
scrollX
Horizontal scrolling index of the text (0-based).
|
int |
scrollY
Vertical scrolling index of the text (0-based).
|
java.lang.String |
selectionText
SELECTION-TEXT Attribute
|
java.lang.String |
table
TABLE Attribute
|
boolean |
wordWrap
WORD-WRAP Attribute
|
atFormatLength, blank, flagAt, flagStatic, format, readOnly
attrSpace, autoResize, clabel, dataType, dropTarget, forceLabel, help, index, INVALID_SELECTION, label, labels, possibleSideLabel, selectionActive, selectionEnd, selectionStart, sideLabelId
align, bgcolor, bgcolorRgb, clientColumn, clientHeightChars, clientHeightPixels, clientRow, clientWidthChars, clientWidthPixels, clientX, clientY, column, dcolor, dynamic, fgcolor, fgcolorRgb, fixedHeight, fixedWidth, font, fontChanged, frameColumnOffset, frameRowOffset, frameXOffset, frameYOffset, heightChars, heightPixels, initColumn, initRow, initX, initY, INV_COORD, locationChanged, movable, name, parentId, pfcolor, resizable, row, selected, sysbgcolor, sysfgcolor, tabStop, title, titleDColor, titleFont, tooltip, widgetPlaced, widthChars, widthPixels, x, y
cfgClass, contextHelpId, disableRedraw, enabled, frameDefValue, frameId, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized, zorder
Modifier | Constructor and Description |
---|---|
|
EditorConfig()
Default constructor (only used in deserialization).
|
protected |
EditorConfig(int id)
Create a new config and associate it with the given widget.
|
|
EditorConfig(WidgetId id)
Create a new config and associate it with the given widget.
|
Modifier and Type | Method and Description |
---|---|
void |
applyConfig(WidgetConfig config)
Set new values from the provided configuration instance.
|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
getConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, toString
public int bufferChars
public int bufferLines
public int cursorOffset
public int cursorChar
public int cursorX
public int cursorY
public int scrollX
public int scrollY
public int innerChars
public int innerLines
public int length
public java.lang.Integer maxChars
public int numLines
public int numReplaced
public boolean autoIndent
public boolean empty
public boolean scrollbarHorizontal
public boolean scrollbarVertical
public boolean wordWrap
public boolean box
public java.lang.String selectionText
public boolean returnInserted
public java.lang.String table
public java.lang.String mousePointer
public EditorConfig()
public EditorConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.protected EditorConfig(int id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class ControlTextConfig
config
- The instance from which to take values.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class ControlTextConfig
in
- The input source from which fields will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class ControlTextConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.