Package snap.view
Class TextArea
java.lang.Object
snap.props.PropObject
snap.view.View
snap.view.TextArea
- All Implemented Interfaces:
PropChange.DoChange
,XMLArchiver.Archivable
- Direct Known Subclasses:
DevPaneConsoleTextArea
,TextEditor
A view subclass for displaying and editing a TextBlock.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static boolean
static final String
static final String
static final String
static final String
Fields inherited from class snap.view.View
_align, _borderRadius, _effect, _font, _margin, _padding, _repaintRect, _showing, _spacing, _vertical, Action, Align_Prop, Border_Prop, BorderRadius_Prop, Clip_Prop, Cursor_Prop, DEFAULT_ALIGN, DEFAULT_MARGIN, DEFAULT_PADDING, DEFAULT_SPACING, Disabled_Prop, DragEvents, Effect_Prop, Fill_Prop, Focusable_Prop, Focused_Prop, FocusWhenPressed_Prop, Font_Prop, GrowHeight_Prop, GrowWidth_Prop, Height_Prop, KeyEvents, KeyPress, KeyRelease, KeyType, LeanX_Prop, LeanY_Prop, Managed_Prop, Margin_Prop, MaxHeight_Prop, MaxWidth_Prop, MinHeight_Prop, MinWidth_Prop, MouseDrag, MouseEnter, MouseEvents, MouseExit, MouseMove, MousePress, MouseRelease, Name_Prop, Opacity_Prop, Padding_Prop, Paintable_Prop, Parent_Prop, Pickable_Prop, PrefHeight_Prop, PrefWidth_Prop, Rotate_Prop, ScaleX_Prop, ScaleY_Prop, Scroll, Showing_Prop, Spacing_Prop, Text_Prop, ToolTip_Prop, TransX_Prop, TransY_Prop, Vertical_Prop, Visible_Prop, Width_Prop, X_Prop, Y_Prop
Fields inherited from class snap.props.PropObject
_pcs, EMPTY_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChars
(CharSequence theChars, Object... theAttrs) Adds the given string to end of text.void
addChars
(CharSequence theChars, TextStyle aStyle) Adds the given string with given style to text at given index.void
addChars
(CharSequence theChars, TextStyle aStyle, int anIndex) Adds the given string with given style to text at given index.char
charAt
(int anIndex) Returns the individual character at given index.void
clear()
Clears the text.void
copy()
Copies the current selection onto the clipboard.protected TextAreaKeys
Override to create TextAreaKeys.void
cut()
Copies the current selection onto the clip board, then deletes the current selection.void
delete()
Deletes the current selection.void
delete
(int aStart, int anEnd, boolean doUpdateSel) Deletes the given range of chars.void
Deletes the character before of the insertion point.void
Deletes the character after of the insertion point.void
Deletes the characters from the insertion point to the end of the line.fromXML
(XMLArchiver anArchiver, XMLElement anElement) XML unarchival.protected void
fromXMLTextArea
(XMLArchiver anArchiver, XMLElement anElement) XML unarchival.int
getCharIndexForXY
(double anX, double aY) Returns the char index for given point in text coordinate space.protected Object
getClipboardContent
(Clipboard clipboard) Returns the clipboard content.Override to return white.Returns the default line style for text.Returns the default style for text.double
Returns the font scale of the text box.Returns the format of the current selection or cursor.getLine
(int anIndex) Returns the individual line at given index.Returns the text line alignment.int
Returns the number of lines.getLineForCharIndex
(int anIndex) Returns the line for the given character index.protected double
getPrefHeightImpl
(double aW) Returns the height needed to display all characters.protected double
getPrefWidthImpl
(double aH) Returns the width needed to display all characters.getSel()
Returns the text selection.int
Returns the initial character index of the selection (usually SelStart).Returns the selection color.int
Returns the character index of the end of the text selection.int
Returns the final character index of the selection (usually SelEnd).Returns the TextLineStyle for currently selection.Returns the path for the current selection.int
Returns the character index of the start of the text selection.Returns the TextStyle for the current selection and/or input characters.Returns the root text block.getText()
Returns the plain string of the text being edited.Returns the text block that holds the text.protected Rect
Sets the Text.Rect from text area.Returns the color of the current selection or cursor.Returns the font of the text block.getTextLinkForXY
(double aX, double aY) Returns the link at given XY.getTextStyleForCharIndex
(int charIndex) Returns the style at given char index.getTokenForCharIndex
(int anIndex) Returns the token for given character index.Returns the undoer.Returns a mapped property name.protected void
Called when SourceText changes (chars added, updated or deleted).void
Hides the cursor.boolean
Returns whether caret is flashing.protected boolean
Returns whether caret is needed (true when text is focused, showing and empty selection).boolean
Returns whether Text shape is editable.boolean
Returns whether text view fires action on enter key press.boolean
Returns whether text view fires action on focus lost (if text changed).static boolean
Returns whether layout tries to hyphenate wrapped words.boolean
Returns whether the text line justifies text.boolean
Returns whether text supports multiple styles.boolean
Returns whether the selection is empty.boolean
Returns whether to show carat.boolean
Returns whether editor is doing check-as-you-type spelling.boolean
Returns whether to synchronize text area font with text block.boolean
Returns whether TextView is underlined.boolean
Returns whether to wrap lines that overrun bounds.protected void
keyPressed
(ViewEvent anEvent) Called when a key is pressed.protected void
keyReleased
(ViewEvent anEvent) Called when a key is released.protected void
Called when a key is typed.int
length()
Returns the number of characters in the text string.protected void
mouseDragged
(ViewEvent anEvent) Handles mouse dragged.protected void
mouseMoved
(ViewEvent anEvent) Handle MouseMoved.protected void
mousePressed
(ViewEvent anEvent) Handles mouse pressed.protected void
mouseReleased
(ViewEvent anEvent) Handles mouse released.protected void
Opens a given link.protected void
paintFront
(Painter aPntr) Paint text.protected void
Paints the selection.protected void
Override to update font.void
paste()
Pasts the current clipboard data over the current selection.protected void
processActionEvent
(ViewEvent anEvent) Called when action event is received.void
processEvent
(ViewEvent anEvent) Process event.void
redo()
Called to redo the last text change.protected void
Repaint the selection.void
replaceChars
(CharSequence theChars) Replaces the current selection with the given string.void
replaceChars
(CharSequence theChars, int startCharIndex, int endCharIndex) Replaces the current selection with the given string.void
replaceChars
(CharSequence theChars, TextStyle aStyle, int aStart, int anEnd, boolean doUpdateSel) Replaces the current selection with the given string.void
replaceCharsWithContent
(Object theContent) Replaces the current selection with the given contents (TextBlock or String).void
Scales font sizes of all text in TextBox to fit in bounds by finding/setting FontScale.protected void
Scrolls Selection to visible.void
Selects all the characters in the text editor.void
Moves the selection index backward a character (or if a range is selected, moves to beginning of range).void
Moves the selection index down a line, trying preserve distance from beginning of line.void
Moves the selection index forward a character (or if a range is selected, moves to end of range).void
Moves the insertion point to next newline or text end.void
Moves the insertion point to the beginning of line.void
selectUp()
Moves the selection index up a line, trying to preserve distance from beginning of line.void
Override to forward to text box.protected void
Sets the caret animation to whether it's needed.void
setCaretAnim
(boolean aValue) Sets whether caret is flashing.void
setDefaultLineStyle
(TextLineStyle aLineStyle) Sets the default line style.void
setDefaultStyle
(TextStyle aStyle) Sets the default style.void
setEditable
(boolean aValue) Sets whether Text shape is editable.void
setFireActionOnEnterKey
(boolean aValue) Sets whether text area sends action on enter key press.void
setFireActionOnFocusLost
(boolean aValue) Sets whether text area sends action on focus lost (if text changed).protected void
setFocused
(boolean aValue) Override to check caret animation and repaint.void
Sets the font of the current selection or cursor.void
setFontScale
(double aValue) Sets the font scale of the text box.void
setFormat
(TextFormat aFormat) Sets the format of the current selection or cursor, after trying to expand the selection to encompass currently selected, @-sign delineated key.void
setHeight
(double aHeight) Override to update getTextBlock.Rect.static void
setHyphenating
(boolean aValue) Sets whether layout tries to hyphenate wrapped words.void
setLineAlign
(HPos anAlign) Sets the text line alignment.void
setLineJustify
(boolean aValue) Sets whether the text line justifies text.protected void
setParent
(ParentView aPar) Override to update font.void
setSel
(int newStartEnd) Sets the character index of the text cursor.void
setSel
(int aStart, int aEnd) Sets the character index of the start and end of the text selection.void
setSelLineStyleValue
(String aKey, Object aValue) Sets the line attributes that are applied to current selection or newly typed chars.void
setSelStyleValue
(String aKey, Object aValue) Sets the attributes that are applied to current selection or newly typed chars.protected void
setShowCaret
(boolean aValue) Sets whether to show carat.protected void
setShowing
(boolean aValue) Override to check caret animation and scrollSelToVisible when showing.void
setSourceText
(TextBlock aTextBlock) Sets the source TextBlock.void
Sets current selection to subscript.void
Sets current selection to superscript.void
setSyncTextFont
(boolean aValue) Sets whether to synchronize text area font with text block.void
Set text string of text editor.protected void
setTextBlock
(TextBlock aTextBlock) Sets the text block that holds the text.void
setTextColor
(Color aColor) Sets the color of the current selection or cursor.void
setTextFont
(Font aFont) Sets the font of the text block.void
setUnderlined
(boolean aValue) Sets whether TextView is underlined.void
setWidth
(double aWidth) Override to update getTextBlock.Rect.void
setWrapLines
(boolean aValue) Sets whether to wrap lines that overrun bounds.void
Shows the cursor.protected void
Called when text changes in some way.toString()
Standard toString implementation.toXML
(XMLArchiver anArchiver) XML archival.protected void
toXMLTextArea
(XMLArchiver anArchiver, XMLElement xml) XML archival.void
undo()
Called to undo the last text change.protected void
Sets the TextBlock.Bounds from text bounds.Methods inherited from class snap.view.View
addBinding, addEventFilter, addEventHandler, clone, contains, contains, containsShape, createActionEvent, disableEvents, enableEvents, fireActionEvent, getAlign, getAlignX, getAlignY, getAnim, getAnimCleared, getAnimTimeDeep, getBestHeight, getBestSize, getBestWidth, getBinding, getBinding, getBindingCount, getBindings, getBorder, getBorderRadius, getBounds, getBoundsLocal, getBoundsParent, getBoundsShape, getBoundsShapeParent, getClip, getClipAll, getClipAllBounds, getClipBounds, getClippedRect, getCursor, getDefaultBorder, getDefaultFont, getEffect, getEnv, getEventAdapter, getFill, getFillColor, getFocusNext, getFocusPrev, getFont, getHeight, getHost, getInsetsAll, getLean, getLeanX, getLeanY, getLocalToParent, getLocalToParent, getMargin, getMaxHeight, getMaxSize, getMaxWidth, getMaxX, getMaxY, getMidX, getMidY, getMinHeight, getMinHeightImpl, getMinSize, getMinWidth, getMinWidthImpl, getName, getOpacity, getOpacityAll, getOwner, getOwner, getPadding, getParent, getParent, getParentCount, getParentToLocal, getParentToLocal, getPhysics, getPhysics, getPrefHeight, getPrefHeight, getPrefSize, getPrefWidth, getPrefWidth, getProp, getPropDefault, getProps, getPropValue, getRealClassName, getRepaintRect, getRepaintRectExpanded, getRootView, getRotate, getScale, getScaleX, getScaleY, getSize, getSpacing, getToolTip, getToolTip, getTransX, getTransY, getUpdater, getVisRect, getWidth, getWindow, getX, getXY, getY, indexInHost, indexInParent, initProps, intersectsShape, isActionable, isAncestor, isClipToBounds, isDisabled, isEnabled, isFocusable, isFocused, isFocusKeysEnabled, isFocusPainted, isFocusWhenPressed, isFontSet, isGrowHeight, isGrowWidth, isGuest, isHorizontal, isLocalToParentSimple, isManaged, isManagedVisible, isMaxHeightSet, isMaxWidthSet, isMinHeightSet, isMinWidthSet, isMouseDown, isMouseOver, isNeedsRepaint, isPaintable, isPickable, isPickableVisible, isPrefHeightSet, isPrefWidthSet, isShowing, isToolTipEnabled, isVertical, isVisible, localToParent, localToParent, localToParent, localToParent, localToScreen, paintAll, paintBack, parentToLocal, parentToLocal, parentToLocal, parentToLocal, playAnimDeep, processEventAll, processEventFilters, processEventHandlers, relayout, relayoutParent, removeBinding, removeBinding, removeEventFilter, removeEventHandler, repaint, repaint, repaint, repaintInParent, requestFocus, runDelayed, runIntervals, runLater, scrollToVisible, setActionable, setAlignX, setAlignY, setAnimProps, setAnimString, setAnimTimeDeep, setBorder, setBorder, setBorderRadius, setBounds, setBounds, setBoundsLocal, setClip, setClipToBounds, setCursor, setDisabled, setEffect, setEnabled, setFill, setFocusable, setFocusKeysEnabled, setFocusPainted, setFocusWhenPressed, setGrowHeight, setGrowWidth, setLean, setLeanX, setLeanY, setManaged, setMargin, setMargin, setMaxHeight, setMaxSize, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinSize, setMinWidth, setName, setOpacity, setOwner, setPadding, setPadding, setPaintable, setPickable, setPrefHeight, setPrefSize, setPrefSize, setPrefWidth, setProp, setPropValue, setRealClassName, setRotate, setScale, setScaleX, setScaleY, setSize, setSize, setSizeLocal, setSizeToBestSize, setSizeToPrefSize, setSpacing, setToolTip, setToolTipEnabled, setTransX, setTransY, setVertical, setVisible, setX, setXY, setXYLocal, setY, stopAnimDeep, stopIntervals, themeChanged, toStringProps
Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, firePropChange, firePropChange, firePropChange, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsForArchivalExtra, getPropsString, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener, setPropsString, setPropValues
-
Field Details
-
isSpellChecking
public static boolean isSpellChecking -
SNAP_RICHTEXT_TYPE
- See Also:
-
Editable_Prop
- See Also:
-
WrapLines_Prop
- See Also:
-
FireActionOnEnterKey_Prop
- See Also:
-
FireActionOnFocusLost_Prop
- See Also:
-
SourceText_Prop
- See Also:
-
Selection_Prop
- See Also:
-
-
Constructor Details
-
TextArea
public TextArea()Constructor. -
TextArea
public TextArea(boolean isRichText) Constructor with option for RichText. -
TextArea
Constructor for source text block.
-
-
Method Details
-
getTextBlock
Returns the text block that holds the text. -
setTextBlock
Sets the text block that holds the text. -
getSourceText
Returns the root text block. -
setSourceText
Sets the source TextBlock. -
getText
Returns the plain string of the text being edited. -
setText
Set text string of text editor. -
isEditable
public boolean isEditable()Returns whether Text shape is editable. -
setEditable
public void setEditable(boolean aValue) Sets whether Text shape is editable. -
isWrapLines
public boolean isWrapLines()Returns whether to wrap lines that overrun bounds. -
setWrapLines
public void setWrapLines(boolean aValue) Sets whether to wrap lines that overrun bounds. -
isSyncTextFont
public boolean isSyncTextFont()Returns whether to synchronize text area font with text block. -
setSyncTextFont
public void setSyncTextFont(boolean aValue) Sets whether to synchronize text area font with text block. -
isSpellChecking
public boolean isSpellChecking()Returns whether editor is doing check-as-you-type spelling. -
isRichText
public boolean isRichText()Returns whether text supports multiple styles. -
getDefaultStyle
Returns the default style for text. -
setDefaultStyle
Sets the default style. -
getDefaultLineStyle
Returns the default line style for text. -
setDefaultLineStyle
Sets the default line style. -
isFireActionOnEnterKey
public boolean isFireActionOnEnterKey()Returns whether text view fires action on enter key press. -
setFireActionOnEnterKey
public void setFireActionOnEnterKey(boolean aValue) Sets whether text area sends action on enter key press. -
isFireActionOnFocusLost
public boolean isFireActionOnFocusLost()Returns whether text view fires action on focus lost (if text changed). -
setFireActionOnFocusLost
public void setFireActionOnFocusLost(boolean aValue) Sets whether text area sends action on focus lost (if text changed). -
length
public int length()Returns the number of characters in the text string. -
charAt
public char charAt(int anIndex) Returns the individual character at given index. -
isSelEmpty
public boolean isSelEmpty()Returns whether the selection is empty. -
getSelAnchor
public int getSelAnchor()Returns the initial character index of the selection (usually SelStart). -
getSelIndex
public int getSelIndex()Returns the final character index of the selection (usually SelEnd). -
getSelStart
public int getSelStart()Returns the character index of the start of the text selection. -
getSelEnd
public int getSelEnd()Returns the character index of the end of the text selection. -
getSel
Returns the text selection. -
setSel
public void setSel(int newStartEnd) Sets the character index of the text cursor. -
setSel
public void setSel(int aStart, int aEnd) Sets the character index of the start and end of the text selection. -
selectAll
public void selectAll()Selects all the characters in the text editor. -
repaintSel
protected void repaintSel()Repaint the selection. -
scrollSelToVisible
protected void scrollSelToVisible()Scrolls Selection to visible. -
setFont
Sets the font of the current selection or cursor. -
parentFontChanged
protected void parentFontChanged()Override to update font.- Overrides:
parentFontChanged
in classView
-
getTextFont
Returns the font of the text block. -
setTextFont
Sets the font of the text block. -
getTextColor
Returns the color of the current selection or cursor. -
setTextColor
Sets the color of the current selection or cursor. -
getFormat
Returns the format of the current selection or cursor. -
setFormat
Sets the format of the current selection or cursor, after trying to expand the selection to encompass currently selected, @-sign delineated key. -
isUnderlined
public boolean isUnderlined()Returns whether TextView is underlined. -
setUnderlined
public void setUnderlined(boolean aValue) Sets whether TextView is underlined. -
setSuperscript
public void setSuperscript()Sets current selection to superscript. -
setSubscript
public void setSubscript()Sets current selection to subscript. -
getLineAlign
Returns the text line alignment. -
setLineAlign
Sets the text line alignment. -
isLineJustify
public boolean isLineJustify()Returns whether the text line justifies text. -
setLineJustify
public void setLineJustify(boolean aValue) Sets whether the text line justifies text. -
getTextStyleForCharIndex
Returns the style at given char index. -
getSelStyle
Returns the TextStyle for the current selection and/or input characters. -
setSelStyleValue
Sets the attributes that are applied to current selection or newly typed chars. -
getSelLineStyle
Returns the TextLineStyle for currently selection. -
setSelLineStyleValue
Sets the line attributes that are applied to current selection or newly typed chars. -
addChars
Adds the given string to end of text. -
addChars
Adds the given string with given style to text at given index. -
addChars
Adds the given string with given style to text at given index. -
delete
public void delete()Deletes the current selection. -
delete
public void delete(int aStart, int anEnd, boolean doUpdateSel) Deletes the given range of chars. -
replaceChars
Replaces the current selection with the given string. -
replaceChars
Replaces the current selection with the given string. -
replaceChars
public void replaceChars(CharSequence theChars, TextStyle aStyle, int aStart, int anEnd, boolean doUpdateSel) Replaces the current selection with the given string. -
replaceCharsWithContent
Replaces the current selection with the given contents (TextBlock or String). -
selectForward
public void selectForward()Moves the selection index forward a character (or if a range is selected, moves to end of range). -
selectBackward
public void selectBackward()Moves the selection index backward a character (or if a range is selected, moves to beginning of range). -
selectUp
public void selectUp()Moves the selection index up a line, trying to preserve distance from beginning of line. -
selectDown
public void selectDown()Moves the selection index down a line, trying preserve distance from beginning of line. -
selectLineStart
public void selectLineStart()Moves the insertion point to the beginning of line. -
selectLineEnd
public void selectLineEnd()Moves the insertion point to next newline or text end. -
deleteBackward
public void deleteBackward()Deletes the character before of the insertion point. -
deleteForward
public void deleteForward()Deletes the character after of the insertion point. -
deleteToLineEnd
public void deleteToLineEnd()Deletes the characters from the insertion point to the end of the line. -
clear
public void clear()Clears the text. -
getLineCount
public int getLineCount()Returns the number of lines. -
getLine
Returns the individual line at given index. -
getLineForCharIndex
Returns the line for the given character index. -
getTokenForCharIndex
Returns the token for given character index. -
getCharIndexForXY
public int getCharIndexForXY(double anX, double aY) Returns the char index for given point in text coordinate space. -
getTextLinkForXY
Returns the link at given XY. -
getSelColor
Returns the selection color. -
paintFront
Paint text.- Overrides:
paintFront
in classView
-
paintSel
Paints the selection. -
processEvent
Process event. Make this public so TextArea can be used to edit text outside of normal Views.- Overrides:
processEvent
in classView
-
mousePressed
Handles mouse pressed. -
mouseDragged
Handles mouse dragged. -
mouseReleased
Handles mouse released. -
mouseMoved
Handle MouseMoved. -
keyPressed
Called when a key is pressed. -
keyTyped
Called when a key is typed. -
keyReleased
Called when a key is released. -
processActionEvent
Called when action event is received. -
createTextAreaKeys
Override to create TextAreaKeys. -
showCursor
public void showCursor()Shows the cursor. -
hideCursor
public void hideCursor()Hides the cursor. -
isShowCaret
public boolean isShowCaret()Returns whether to show carat. -
setShowCaret
protected void setShowCaret(boolean aValue) Sets whether to show carat. -
isCaretNeeded
protected boolean isCaretNeeded()Returns whether caret is needed (true when text is focused, showing and empty selection). -
setCaretAnim
protected void setCaretAnim()Sets the caret animation to whether it's needed. -
isCaretAnim
public boolean isCaretAnim()Returns whether caret is flashing. -
setCaretAnim
public void setCaretAnim(boolean aValue) Sets whether caret is flashing. -
getFontScale
public double getFontScale()Returns the font scale of the text box. -
setFontScale
public void setFontScale(double aValue) Sets the font scale of the text box. -
scaleTextToFit
public void scaleTextToFit()Scales font sizes of all text in TextBox to fit in bounds by finding/setting FontScale. -
cut
public void cut()Copies the current selection onto the clip board, then deletes the current selection. -
copy
public void copy()Copies the current selection onto the clipboard. -
paste
public void paste()Pasts the current clipboard data over the current selection. -
getClipboardContent
Returns the clipboard content. -
openLink
Opens a given link. -
getUndoer
Returns the undoer. -
undo
public void undo()Called to undo the last text change. -
redo
public void redo()Called to redo the last text change. -
handleSourceTextPropChange
Called when SourceText changes (chars added, updated or deleted). -
textDidChange
protected void textDidChange()Called when text changes in some way. -
getDefaultFill
Override to return white.- Overrides:
getDefaultFill
in classView
-
getPrefWidthImpl
protected double getPrefWidthImpl(double aH) Returns the width needed to display all characters.- Overrides:
getPrefWidthImpl
in classView
-
getPrefHeightImpl
protected double getPrefHeightImpl(double aW) Returns the height needed to display all characters.- Overrides:
getPrefHeightImpl
in classView
-
setWidth
public void setWidth(double aWidth) Override to update getTextBlock.Rect. -
setHeight
public void setHeight(double aHeight) Override to update getTextBlock.Rect. -
getTextBounds
Sets the Text.Rect from text area. -
updateTextBlockBounds
protected void updateTextBlockBounds()Sets the TextBlock.Bounds from text bounds. -
setParent
Override to update font. -
setShowing
protected void setShowing(boolean aValue) Override to check caret animation and scrollSelToVisible when showing.- Overrides:
setShowing
in classView
-
setAlign
Override to forward to text box. -
setFocused
protected void setFocused(boolean aValue) Override to check caret animation and repaint.- Overrides:
setFocused
in classView
-
getValuePropName
Returns a mapped property name.- Overrides:
getValuePropName
in classView
-
getSelPath
Returns the path for the current selection. -
isHyphenating
public static boolean isHyphenating()Returns whether layout tries to hyphenate wrapped words. -
setHyphenating
public static void setHyphenating(boolean aValue) Sets whether layout tries to hyphenate wrapped words. -
toString
Standard toString implementation.- Overrides:
toString
in classPropObject
-
toXML
XML archival.- Specified by:
toXML
in interfaceXMLArchiver.Archivable
- Overrides:
toXML
in classView
-
toXMLTextArea
XML archival. -
fromXML
XML unarchival.- Specified by:
fromXML
in interfaceXMLArchiver.Archivable
- Overrides:
fromXML
in classView
-
fromXMLTextArea
XML unarchival.
-