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:
ConsoleView
,TextEditor
A view subclass for displaying and editing a TextDoc (using TextBox).
-
Nested Class Summary
-
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, 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
Adds the given string to end of text.void
Adds the given string with given style to text at given index.void
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.protected TextBox
Creates a new TextBox.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.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.getFont()
Returns the font of the current selection or cursor.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.Returns the last line.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.getStyleForCharIndex
(int anIndex) Returns the style at given char index.getText()
Returns the plain string of the text being edited.Returns whether current selection is outlined.Returns the text that is being edited.protected Rect
Sets the Text.Rect from text area.Returns the color of the current selection or cursor.Returns the TextDoc.Returns the color of the current selection or cursor.getTextLinkForXY
(double aX, double aY) Returns the link at given XY.getTokenForCharIndex
(int anIndex) Returns the token for given character index.Returns the undoer.protected Object
Returns a selection object for undoer.Returns a mapped property name.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 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.void
processEvent
(ViewEvent anEvent) Process event.boolean
redo()
Called to redo the last undo operation in the editor.protected void
Repaint the selection.void
replaceChars
(String aString) Replaces the current selection with the given string.void
replaceChars
(String aString, 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 (TextDoc or String).void
replaceCharsWithTextDoc
(TextDoc aTextDoc, int aStart, int anEnd, boolean doUpdateSel) Replaces the current selection with the given TextDoc.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
selectBackward
(boolean isShiftDown) 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
selectForward
(boolean isShiftDown) 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
Sets current selection to subscript.void
Sets current selection to superscript.void
Set text string of text editor.void
setTextBorder
(Border aBorder) Sets whether current selection is outlined.void
setTextBox
(TextBox aTextBox) Returns the text box used to layout text.protected void
Sets the Text.Rect from text area.void
setTextColor
(Paint aColor) Sets the color of the current selection or cursor.void
setTextDoc
(TextDoc aTextDoc) Sets the TextDoc.void
setTextFill
(Paint aColor) Sets the color of the current selection or cursor.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.protected void
Called when TextDoc changes (chars added, updated or deleted).toString()
Standard toString implementation.toXML
(XMLArchiver anArchiver) XML archival.boolean
undo()
Called to undo the last edit operation in the editor.protected void
undoerAddPropChange
(PropChange anEvent) Adds a property change to undoer.void
Saves changes to undoer.Methods inherited from class snap.view.View
addBinding, addEventFilter, addEventHandler, clone, contains, contains, contains, disableEvents, dispatchEventToView, 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, 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, intersects, 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, processEventFilters, processEventHandlers, relayout, relayoutParent, removeBinding, removeBinding, removeEventFilter, removeEventHandler, repaint, repaint, repaint, repaintInParent, requestFocus, scrollToVisible, setActionable, setAlignX, setAlignY, 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, setSizeToPrefSize, setSpacing, setToolTip, setToolTipEnabled, setTransX, setTransY, setVertical, setVisible, setX, setXY, setXYLocal, setY, stopAnimDeep, themeChanged, toStringProps
Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, firePropChange, firePropChange, firePropChange, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsForArchivalExtra, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener
-
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:
-
TextDoc_Prop
- See Also:
-
Selection_Prop
- See Also:
-
-
Constructor Details
-
TextArea
public TextArea()Creates a new TextArea.
-
-
Method Details
-
getTextBox
Returns the text that is being edited. -
setTextBox
Returns the text box used to layout text. -
createTextBox
Creates a new TextBox. -
getTextDoc
Returns the TextDoc. -
setTextDoc
Sets the TextDoc. -
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. -
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. -
getFont
Returns the font of the current selection or cursor. -
setFont
Sets the font of the current selection or cursor. -
parentFontChanged
protected void parentFontChanged()Override to update font.- Overrides:
parentFontChanged
in classView
-
getTextColor
Returns the color of the current selection or cursor. -
setTextColor
Sets the color of the current selection or cursor. -
getTextFill
Returns the color of the current selection or cursor. -
setTextFill
Sets the color of the current selection or cursor. -
getTextBorder
Returns whether current selection is outlined. -
setTextBorder
Sets whether current selection is outlined. -
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. -
getStyleForCharIndex
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
public void replaceChars(String aString, TextStyle aStyle, int aStart, int anEnd, boolean doUpdateSel) Replaces the current selection with the given string. -
replaceCharsWithTextDoc
Replaces the current selection with the given TextDoc. -
replaceCharsWithContent
Replaces the current selection with the given contents (TextDoc or String). -
selectForward
public void selectForward(boolean isShiftDown) Moves the selection index forward a character (or if a range is selected, moves to end of range). -
selectBackward
public void selectBackward(boolean isShiftDown) 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. -
getLineLast
Returns the last line. -
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. -
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 boolean undo()Called to undo the last edit operation in the editor. -
redo
public boolean redo()Called to redo the last undo operation in the editor. -
undoerAddPropChange
Adds a property change to undoer. -
undoerSaveChanges
public void undoerSaveChanges()Saves changes to undoer. -
getUndoSelection
Returns a selection object for undoer. -
textDocDidPropChange
Called when TextDoc 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. -
getTextBoxBounds
Sets the Text.Rect from text area. -
setTextBoxBounds
protected void setTextBoxBounds()Sets the Text.Rect from text area. -
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
-
fromXML
XML unarchival.- Specified by:
fromXML
in interfaceXMLArchiver.Archivable
- Overrides:
fromXML
in classView
-