|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.server.graphml.folding.NodeViewState
Data object that describes the visual appearance of a dummy node in a folded graph.
The style, labels, and layout of a dummy node may differ from the visual appearance of the expanded node.
DummyNodeId
,
FoldingSupport.getNodeViewState(y.base.Graph, com.yworks.yfiles.server.graphml.folding.DummyNodeId)
,
FoldedLayoutGraph.getNodeViewState(com.yworks.yfiles.server.graphml.folding.DummyNodeId)
Constructor Summary | |
NodeViewState()
|
Method Summary | |
MarkupExtension |
createMarkupExtension(Lookup lookup)
Creates a markup extension that can be used instead of the original class. |
java.util.List |
getLabels()
A list of Label instances that define the labels of the collapsed
node. |
YRectangle |
getLayout()
The layout of the collapsed node. |
PortViewState |
getPortViewState(Port masterPort)
Returns the port view state for given port of the master node this node view state belongs to. |
INodeStyle |
getStyle()
The style that defines the visual appearance of the dummy node. |
void |
setLayout(YRectangle layout)
The layout of the collapsed node. |
void |
setPortViewState(PortViewState portViewState)
Sets the port view state for a master port
of the master node this node view state belongs to. |
void |
setStyle(INodeStyle style)
The style that defines the visual appearance of the dummy node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeViewState()
Method Detail |
public INodeStyle getStyle()
public void setStyle(INodeStyle style)
public java.util.List getLabels()
Label
instances that define the labels of the collapsed
node.
public YRectangle getLayout()
public void setLayout(YRectangle layout)
public void setPortViewState(PortViewState portViewState)
master port
of the master node this node view state belongs to.
portViewState
- The port view state that shall be set.public PortViewState getPortViewState(Port masterPort)
masterPort
- The master port to return the view state for.
null
if no such port view state has been
set before.public MarkupExtension createMarkupExtension(Lookup lookup)
IMarkupExtensionFactory
createMarkupExtension
in interface IMarkupExtensionFactory
lookup
- The lookup that shall be considered when creating the markup extension.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |