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

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

public class LabelNode
extends FormNode

This object represents an abstract label 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
LabelNode()
          Constructor for the LabelNode object
LabelNode(LabelNode node)
          Copy constructor for the LabelNode object
LabelNode(Resource variable)
          Constructor for the LabelNode object
 
Method Summary
protected  String getInfo()
          Gets the info attribute of the LabelNode object
 boolean getIsRepeated()
          Gets the isRepeated attribute of the LabelNode object
 Map getLanguageValue()
          Gets the languageValue attribute of the LabelNode object
 Node getNewInstance()
          Gets the newInstance attribute of the LabelNode object
 Collection getValues()
          Gets the values attribute of the LabelNode object
 boolean isFormNode()
          Gets the formNode attribute of the LabelNode object
 boolean isLabelNode()
          Gets the labelNode attribute of the LabelNode object
 boolean isRepeted()
          Gets the repeted attribute of the LabelNode object
 void setRepeted(boolean value)
          Sets the repeted attribute of the LabelNode object
 void setValues(Collection values)
          Sets the values attribute of the LabelNode object.
 String toString()
          Description of the Method
 
Methods inherited from class se.kmr.scam.editor.util.form.FormNode
addNode, addNodes, getNamedNode, getNode, getNodes, isEdited
 
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, isMultipleBindingsAllowed, isPredefinedNode, isTextNode, 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

LabelNode

public LabelNode()
Constructor for the LabelNode object


LabelNode

public LabelNode(Resource variable)
Constructor for the LabelNode object

Parameters:
variable - Description of the Parameter

LabelNode

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

Parameters:
node - Copy this object
Method Detail

getValues

public Collection getValues()
Gets the values attribute of the LabelNode object

Returns:
The values value

getLanguageValue

public Map getLanguageValue()
Gets the languageValue attribute of the LabelNode object

Returns:
The languageValue value

setValues

public void setValues(Collection values)
Sets the values attribute of the LabelNode object. The values attribute is a collection of ValueObjects, each definig a value for the label.

Parameters:
values - A collection of ValueObjects

isRepeted

public boolean isRepeted()
Gets the repeted attribute of the LabelNode object

Returns:
The repeted value

getIsRepeated

public boolean getIsRepeated()
Gets the isRepeated attribute of the LabelNode object

Returns:
The isRepeated value

setRepeted

public void setRepeted(boolean value)
Sets the repeted attribute of the LabelNode object

Parameters:
value - The new repeted value

getNewInstance

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

Overrides:
getNewInstance in class FormNode
Returns:
The newInstance value

isLabelNode

public boolean isLabelNode()
Gets the labelNode attribute of the LabelNode object

Overrides:
isLabelNode in class Node
Returns:
The labelNode value

isFormNode

public boolean isFormNode()
Gets the formNode attribute of the LabelNode object

Overrides:
isFormNode in class FormNode
Returns:
The formNode value

toString

public String toString()
Description of the Method

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

getInfo

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

Overrides:
getInfo in class FormNode
Returns:
The info value


Copyright © 2003 SCAM. All Rights Reserved.