|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
cz.zcu.fav.kiv.editor.beans.common.GeneralElement
cz.zcu.fav.kiv.editor.beans.common.ParentParameter
public class ParentParameter
The ParentParameter
class represents a parent common for all elements like
Parameter
or Property
.
Field Summary | |
---|---|
protected boolean |
chosen
The flag specifying whether the element is chosen or not |
protected java.lang.String |
description
The description of the element |
protected int |
lineNumber
|
protected java.lang.String |
purpose
The purpose of the element |
Fields inherited from class cz.zcu.fav.kiv.editor.beans.common.GeneralElement |
---|
name, node |
Constructor Summary | |
---|---|
ParentParameter()
Initializes a newly created empty ParentParameter . |
|
ParentParameter(java.lang.String name)
Initializes a newly created empty ParentParameter with the specified name. |
|
ParentParameter(java.lang.String name,
int lineNumber)
|
Method Summary | |
---|---|
void |
clearValues()
Clear values (sets default values) of the element and notifies its observers. |
int |
compareTo(java.lang.Object obj)
|
java.lang.String |
getDescription()
|
int |
getLineNumber()
|
java.lang.String |
getPurpose()
|
java.lang.Boolean |
isChosen()
|
void |
setChosen()
Choses the element - sets the flag chosen to true. |
void |
setChosen(java.lang.Boolean isChosen)
|
void |
setDescription(java.lang.String description)
|
void |
setPurpose(java.lang.String purpose)
|
Methods inherited from class cz.zcu.fav.kiv.editor.beans.common.GeneralElement |
---|
equals, getName, getNode, setName, setNode |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String description
protected java.lang.String purpose
protected boolean chosen
protected int lineNumber
Constructor Detail |
---|
public ParentParameter()
ParentParameter
.
public ParentParameter(java.lang.String name)
ParentParameter
with the specified name. The
name
argument is the name of the element.
name
- a name of the element.public ParentParameter(java.lang.String name, int lineNumber)
Method Detail |
---|
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getPurpose()
public void setPurpose(java.lang.String purpose)
public void clearValues()
public java.lang.Boolean isChosen()
public void setChosen(java.lang.Boolean isChosen)
public void setChosen()
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public int getLineNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |