public abstract class CellSection extends Object implements Nameable
SimpleStringIdentifier. The content of a cell section is defined by a set of nodes.| Constructor and Description |
|---|
CellSection(String identifier,
String name)
Creates a new CellSection with the given identifier and name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(AutomatonNode node)
Adds a node to the section, without altering the state of the node.
|
boolean |
equals(Object o) |
Set<AutomatonNode> |
getContent()
Returns the nodes belonging to this cell section.
|
String |
getIdentifier()
Returns the identifier of this cell section.
|
String |
getName() |
int |
hashCode() |
boolean |
isSubsection()
Returns
true if this cell section is a subsection of another section. |
void |
setContent(Set<AutomatonNode> content)
Sets the content of this cell section.
|
void |
setSubsection(boolean subsection)
Set
true if this cell section is a subsection of another section. |
String |
toString() |
public String getIdentifier()
public Set<AutomatonNode> getContent()
public void setContent(Set<AutomatonNode> content)
content - The nodes contained in this cell section.public void addNode(AutomatonNode node)
node - The node to add.public boolean isSubsection()
true if this cell section is a subsection of another section.true if this cell section is a subsection of another section.public void setSubsection(boolean subsection)
true if this cell section is a subsection of another section.subsection - true if this cell section is a subsection of another section.Copyright © 2017. All rights reserved.