de.postfuse.ui
Interface Design

All Known Subinterfaces:
EdgeDesign, NodeDesign

public interface Design

This is an general Design interface for graph items. The design objects behind this interface are used as container to carry a lot of design information.

Author:
Peter

Method Summary
 Color getFillColor()
           
 Stroke getStroke()
           
 Color getStrokeColor()
           
 float getStrokeWidth()
           
 Color getTextColor()
           
 void setFillColor(Color fillcolor)
           
 void setStrokeColor(Color strokecolor)
           
 void setStrokeWidth(float strokewidth)
           
 void setTextColor(Color textcolor)
           
 

Method Detail

getFillColor

Color getFillColor()
Returns:
the current fill color

getStrokeColor

Color getStrokeColor()
Returns:
the current stroke color

getTextColor

Color getTextColor()
Returns:
the current text color

getStrokeWidth

float getStrokeWidth()
Returns:
the current stroke width

getStroke

Stroke getStroke()
Returns:
the stroke object which defines all stroke properties

setStrokeColor

void setStrokeColor(Color strokecolor)
Parameters:
strokecolor - the new stroke color

setFillColor

void setFillColor(Color fillcolor)
Parameters:
fillcolor - the new fill color

setTextColor

void setTextColor(Color textcolor)
Parameters:
textcolor - the new text color

setStrokeWidth

void setStrokeWidth(float strokewidth)
Parameters:
strokewidth - the new text color