public abstract class FoldingPortState extends Object
FolderNodeState
or FoldingEdgeState
.
When the properties of the state are changed, these changes are reflected immediately in the
Views
.
Modifier and Type | Method and Description |
---|---|
abstract IPort |
asPort()
Returns an
IPort instance which represents this port state. |
IPortLocationModelParameter |
getLocationParameter()
The
IPortLocationModelParameter describing the position of this port. |
IPortStyle |
getStyle()
The style of this port.
|
abstract Object |
getTag()
The tag of the port.
|
void |
setLocationParameter(IPortLocationModelParameter value)
The
IPortLocationModelParameter describing the position of this port. |
void |
setStyle(IPortStyle value)
The style of this port.
|
abstract void |
setTag(Object value)
The tag of the port.
|
public abstract IPort asPort()
IPort
instance which represents this port state.
The returned port is not present in any graph but may be passed to IFoldingView.getViewItem(com.yworks.yfiles.graph.IModelItem)
to get the port state's view port in the folding view graph
.
IPort
instance which represents this port state.public IPortLocationModelParameter getLocationParameter()
IPortLocationModelParameter
describing the position of this port.setLocationParameter(IPortLocationModelParameter)
public IPortStyle getStyle()
setStyle(IPortStyle)
public abstract Object getTag()
setTag(Object)
public void setLocationParameter(IPortLocationModelParameter value)
IPortLocationModelParameter
describing the position of this port.value
- The LocationParameter to set.getLocationParameter()
public void setStyle(IPortStyle value)
value
- The Style to set.getStyle()