com.rolemodelsoft.drawlet.shapes.lines
Class ArrowStyle

java.lang.Object
  |
  +--com.rolemodelsoft.drawlet.basics.SimpleDrawingStyle
        |
        +--com.rolemodelsoft.drawlet.shapes.lines.ArrowStyle

public class ArrowStyle
extends SimpleDrawingStyle

Defines how an arrow will be drawn.


Field Summary
protected static Locator[] defaultLocators
          The default locators for ArrowStyles.
protected  boolean isOpaque
          A boolean designating whether this arrow is opaque or not.
protected  Locator[] locators
          The locators which define the arrow head
 
Fields inherited from class com.rolemodelsoft.drawlet.basics.SimpleDrawingStyle
backgroundColor, fillColor, font, foregroundColor, highlightColor, lineColor, selectionBackgroundColor, selectionForegroundColor, textColor
 
Constructor Summary
ArrowStyle()
           
ArrowStyle(Locator[] locators)
           
ArrowStyle(Locator[] locators, boolean isOpaque)
           
 
Method Summary
protected  boolean defaultIsOpaque()
          getFillColor method comment.
protected static Locator[] getDefaultLocators()
           
 Locator[] getLocators()
          getLocators method comment.
 boolean isOpaque()
          isFilled method comment.
static void setDefaultLocators(Locator[] locators)
           
 void setOpaque(boolean opaque)
          setFilled method comment.
 
Methods inherited from class com.rolemodelsoft.drawlet.basics.SimpleDrawingStyle
defaultBackgroundColor, defaultFillColor, defaultFont, defaultForegroundColor, defaultHighlightColor, defaultLineColor, defaultSelectionBackgroundColor, defaultSelectionForegroundColor, defaultTextColor, duplicate, duplicateIn, getBackgroundColor, getFillColor, getFont, getForegroundColor, getHighlightColor, getLineColor, getSelectionBackgroundColor, getSelectionForegroundColor, getTextColor, postDuplicate, setBackgroundColor, setFillColor, setFont, setForegroundColor, setHighlightColor, setLineColor, setSelectionBackgroundColor, setSelectionForegroundColor, setTextColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isOpaque

protected boolean isOpaque
A boolean designating whether this arrow is opaque or not.

locators

protected Locator[] locators
The locators which define the arrow head

defaultLocators

protected static Locator[] defaultLocators
The default locators for ArrowStyles.
Constructor Detail

ArrowStyle

public ArrowStyle()

ArrowStyle

public ArrowStyle(Locator[] locators)

ArrowStyle

public ArrowStyle(Locator[] locators,
                  boolean isOpaque)
Method Detail

defaultIsOpaque

protected boolean defaultIsOpaque()
getFillColor method comment.

getDefaultLocators

protected static Locator[] getDefaultLocators()

getLocators

public Locator[] getLocators()
getLocators method comment.

isOpaque

public boolean isOpaque()
isFilled method comment.

setDefaultLocators

public static void setDefaultLocators(Locator[] locators)

setOpaque

public void setOpaque(boolean opaque)
setFilled method comment.