se.kmr.scam.editor.util.form
Class TextNode

java.lang.Object
  extended byse.kmr.scam.editor.util.form.Node
      extended byse.kmr.scam.editor.util.form.TextNode

public class TextNode
extends Node

This object represents an abstract text node in the abstract form view.

Version:
$Revision: 1.11 $
Author:
Jöran
Created:
den 5 augusti 2002

Field Summary
 
Fields inherited from class se.kmr.scam.editor.util.form.Node
_cat
 
Constructor Summary
TextNode(Resource variable)
          Constructor for the TextNode object
TextNode(TextNode node)
          Copy constructor for the TextNode object
 
Method Summary
protected  String getInfo()
          Gets the info attribute of the TextNode object
 boolean getIsMultilingual()
          Gets the isMultilingual attribute of the TextNode object
 int getMaxChars()
          Gets the maxChars attribute of the TextNode object
 Node getNewInstance()
          Gets the newInstance attribute of the TextNode object
 boolean isMultiLingual()
          Gets the multiLingual attribute of the TextNode object
 boolean isTextNode()
          Gets the textNode attribute of the TextNode object
 void setMaxChars(int num)
          Sets the maxChars attribute of the TextNode object
 void setMultiLingual(boolean value)
          Sets the multiLingual attribute of the TextNode object
 String toString()
          Description of the Method
 
Methods inherited from class se.kmr.scam.editor.util.form.Node
getDescription, getDisplayType, getId, getIsEditable, getIsFormNode, getIsLabelNode, getIsMultipleBindingsAllowed, getIsPredefinedNode, getIsTextNode, getIsVisible, getLanguage, getValidationType, getValue, getValueObject, getVariable, isEditable, isEdited, isFormNode, isLabelNode, isMultipleBindingsAllowed, isPredefinedNode, isVisible, setDescriptions, setDisplayType, setEditable, setEdited, setMultipleBindingsAllowed, setValidationType, setValueObject, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextNode

public TextNode(Resource variable)
Constructor for the TextNode object

Parameters:
variable - Associate this TextNode with this variable.

TextNode

public TextNode(TextNode node)
Copy constructor for the TextNode object

Parameters:
node - copy this TextNode
Method Detail

setMaxChars

public void setMaxChars(int num)
Sets the maxChars attribute of the TextNode object

Parameters:
num - The new maxChars value

getMaxChars

public int getMaxChars()
Gets the maxChars attribute of the TextNode object

Returns:
The maxChars value

isMultiLingual

public boolean isMultiLingual()
Gets the multiLingual attribute of the TextNode object

Returns:
The multiLingual value

getIsMultilingual

public boolean getIsMultilingual()
Gets the isMultilingual attribute of the TextNode object

Returns:
The isMultilingual value

setMultiLingual

public void setMultiLingual(boolean value)
Sets the multiLingual attribute of the TextNode object

Parameters:
value - The new multiLingual value

getNewInstance

public Node getNewInstance()
Gets the newInstance attribute of the TextNode object

Overrides:
getNewInstance in class Node
Returns:
The newInstance value

isTextNode

public boolean isTextNode()
Gets the textNode attribute of the TextNode object

Overrides:
isTextNode in class Node
Returns:
The textNode value

toString

public String toString()
Description of the Method

Overrides:
toString in class Node
Returns:
Description of the Return Value

getInfo

protected String getInfo()
Gets the info attribute of the TextNode object

Overrides:
getInfo in class Node
Returns:
The info value


Copyright © 2003 SCAM. All Rights Reserved.