org.drools.eclipse.reteoo
Class WindowNodeVertex
java.lang.Object
org.drools.eclipse.editors.rete.model.ModelElement
org.drools.eclipse.editors.rete.model.GraphicalVertex
org.drools.eclipse.reteoo.BaseVertex
org.drools.eclipse.reteoo.WindowNodeVertex
public class WindowNodeVertex
- extends BaseVertex
Wraps TimerNode and adds visual extras like color information
|
Constructor Summary |
WindowNodeVertex(org.drools.core.reteoo.WindowNode node)
Constructor |
| Methods inherited from class org.drools.eclipse.editors.rete.model.GraphicalVertex |
addConnection, dumpConstraints, getDrawColor, getLocation, getPropertyDescriptors, getPropertyValue, getSize, getSourceConnections, getTargetConnections, removeConnection, setLocation, setPropertyValue, setSize |
WindowNodeVertex
public WindowNodeVertex(org.drools.core.reteoo.WindowNode node)
- Constructor
- Parameters:
node - node to be wrapped
getHtml
public String getHtml()
- Description copied from class:
GraphicalVertex
- HTML formatted representation of this node
- Specified by:
getHtml in class GraphicalVertex
- Returns:
- #getHtml
toString
public String toString()
- Overrides:
toString in class GraphicalVertex
getFillColor
public org.eclipse.swt.graphics.Color getFillColor()
- Description copied from class:
GraphicalVertex
- Color used for filling vertex figure
- Specified by:
getFillColor in class GraphicalVertex
- Returns:
- color
getId
public int getId()
- Node ID
- Returns:
- node id
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.