public abstract class AbstractFXConnectionSkin extends Object implements FXConnectionSkin
| Type | Property and Description |
|---|---|
ObjectProperty<eu.mihosoft.vrl.workflow.Connection> |
model |
protected ObjectProperty<Parent> |
parent |
ObjectProperty<eu.mihosoft.vrl.workflow.Connector> |
receiver |
ObjectProperty<eu.mihosoft.vrl.workflow.Connector> |
sender |
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionListener |
connectionListener |
protected Path |
connectionPath |
protected eu.mihosoft.vrl.workflow.VFlow |
controller |
protected ObjectProperty<eu.mihosoft.vrl.workflow.Connection> |
modelProperty |
protected ObjectProperty<Parent> |
parentProperty |
protected Circle |
receiverConnectorUI |
protected ObjectProperty<eu.mihosoft.vrl.workflow.Connector> |
receiverProperty |
protected ConnectorShape |
receiverShape |
protected ObjectProperty<eu.mihosoft.vrl.workflow.Connector> |
senderProperty |
protected ConnectorShape |
senderShape |
protected FXSkinFactory |
skinFactory |
protected String |
type |
| Constructor and Description |
|---|
AbstractFXConnectionSkin(FXSkinFactory skinFactory,
Parent parent,
eu.mihosoft.vrl.workflow.VFlow controller,
String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
add() |
protected Path |
getConnectionPath() |
Parent |
getContentNode()
Returns the JavaFX content node.
|
eu.mihosoft.vrl.workflow.VFlow |
getController() |
eu.mihosoft.vrl.workflow.Connection |
getModel()
Gets the value of the property model.
|
Path |
getNode()
Returns the JavaFX node.
|
protected Parent |
getParent()
Gets the value of the property parent.
|
eu.mihosoft.vrl.workflow.Connector |
getReceiver()
Gets the value of the property receiver.
|
ConnectorShape |
getReceiverShape() |
Shape |
getReceiverUI() |
eu.mihosoft.vrl.workflow.Connector |
getSender()
Gets the value of the property sender.
|
ConnectorShape |
getSenderShape() |
FXSkinFactory |
getSkinFactory() |
FXConnectionSkin |
init() |
protected void |
initConnectionListener() |
protected void |
initConnnectionPath() |
protected abstract void |
initSenderAndReceiver() |
protected abstract void |
initStyle() |
protected abstract void |
makeDraggable() |
ObjectProperty<eu.mihosoft.vrl.workflow.Connection> |
modelProperty() |
protected ObjectProperty<Parent> |
parentProperty() |
protected void |
postInitialize() |
ObjectProperty<eu.mihosoft.vrl.workflow.Connector> |
receiverProperty() |
void |
receiverToFront() |
void |
remove() |
ObjectProperty<eu.mihosoft.vrl.workflow.Connector> |
senderProperty() |
void |
setController(eu.mihosoft.vrl.workflow.VFlow controller) |
void |
setModel(eu.mihosoft.vrl.workflow.Connection model)
Sets the value of the property model.
|
protected void |
setParent(Parent parent)
Sets the value of the property parent.
|
void |
setReceiver(eu.mihosoft.vrl.workflow.Connector n)
Sets the value of the property receiver.
|
void |
setSender(eu.mihosoft.vrl.workflow.Connector n)
Sets the value of the property sender.
|
public ObjectProperty<eu.mihosoft.vrl.workflow.Connector> senderProperty
senderProperty in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>getSender(),
setSender(Connector)public ObjectProperty<eu.mihosoft.vrl.workflow.Connector> receiverProperty
receiverProperty in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>getReceiver(),
setReceiver(Connector)public ObjectProperty<eu.mihosoft.vrl.workflow.Connection> modelProperty
modelProperty in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>getModel(),
setModel(Connection)protected ObjectProperty<Parent> parentProperty
getParent(),
setParent(Parent)protected final ObjectProperty<eu.mihosoft.vrl.workflow.Connector> senderProperty
protected final ObjectProperty<eu.mihosoft.vrl.workflow.Connector> receiverProperty
protected final ObjectProperty<eu.mihosoft.vrl.workflow.Connection> modelProperty
protected final ObjectProperty<Parent> parentProperty
protected Path connectionPath
protected Circle receiverConnectorUI
protected eu.mihosoft.vrl.workflow.VFlow controller
protected ConnectorShape senderShape
protected ConnectorShape receiverShape
protected ConnectionListener connectionListener
protected final String type
protected final FXSkinFactory skinFactory
public AbstractFXConnectionSkin(FXSkinFactory skinFactory, Parent parent, eu.mihosoft.vrl.workflow.VFlow controller, String type)
public final FXConnectionSkin init()
init in interface FXConnectionSkinprotected void postInitialize()
protected abstract void initSenderAndReceiver()
protected abstract void initStyle()
protected void initConnnectionPath()
protected void initConnectionListener()
protected abstract void makeDraggable()
protected Path getConnectionPath()
public eu.mihosoft.vrl.workflow.Connector getSender()
getSender in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>public void setSender(eu.mihosoft.vrl.workflow.Connector n)
setSender in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>public ObjectProperty<eu.mihosoft.vrl.workflow.Connector> senderProperty()
senderProperty in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>getSender(),
setSender(Connector)public eu.mihosoft.vrl.workflow.Connector getReceiver()
getReceiver in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>public void setReceiver(eu.mihosoft.vrl.workflow.Connector n)
setReceiver in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>public ObjectProperty<eu.mihosoft.vrl.workflow.Connector> receiverProperty()
receiverProperty in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>getReceiver(),
setReceiver(Connector)public Parent getContentNode()
FXSkingetContentNode in interface FXSkin<eu.mihosoft.vrl.workflow.Connection,Path>public void setModel(eu.mihosoft.vrl.workflow.Connection model)
setModel in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public eu.mihosoft.vrl.workflow.Connection getModel()
getModel in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public ObjectProperty<eu.mihosoft.vrl.workflow.Connection> modelProperty()
modelProperty in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>getModel(),
setModel(Connection)protected final void setParent(Parent parent)
protected Parent getParent()
protected ObjectProperty<Parent> parentProperty()
getParent(),
setParent(Parent)public void add()
add in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public void remove()
remove in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public eu.mihosoft.vrl.workflow.VFlow getController()
getController in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public void setController(eu.mihosoft.vrl.workflow.VFlow controller)
setController in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public FXSkinFactory getSkinFactory()
getSkinFactory in interface FXSkin<eu.mihosoft.vrl.workflow.Connection,Path>getSkinFactory in interface eu.mihosoft.vrl.workflow.skin.Skin<eu.mihosoft.vrl.workflow.Connection>public void receiverToFront()
receiverToFront in interface eu.mihosoft.vrl.workflow.skin.ConnectionSkin<eu.mihosoft.vrl.workflow.Connection>public Shape getReceiverUI()
getReceiverUI in interface FXConnectionSkinpublic ConnectorShape getSenderShape()
getSenderShape in interface FXConnectionSkinpublic ConnectorShape getReceiverShape()
getReceiverShape in interface FXConnectionSkin