de.postfuse.ui
Interface NodeDesign

All Superinterfaces:
Design

public interface NodeDesign
extends Design

An interface with node specials.

Author:
Peter

Method Summary
 NodeDesign clone()
           
 NodeShape getShape()
           
 NodeType getType()
           
 void setShape(NodeShape shape)
           
 void setType(NodeType type)
           
 
Methods inherited from interface de.postfuse.ui.Design
getFillColor, getStroke, getStrokeColor, getStrokeWidth, getTextColor, setFillColor, setStrokeColor, setStrokeWidth, setTextColor
 

Method Detail

getShape

NodeShape getShape()
Returns:
the current shape of the node

setShape

void setShape(NodeShape shape)
Parameters:
shape - the new shape of the node

getType

NodeType getType()
Returns:
the current type of the node

setType

void setType(NodeType type)
Parameters:
type - the new type of the node

clone

NodeDesign clone()
Returns:
a clone of the whole design