org.kite9.diagram.builders.formats
Class BasicFormats

java.lang.Object
  extended by org.kite9.diagram.builders.formats.BasicFormats

public class BasicFormats
extends Object


Nested Class Summary
static interface BasicFormats.ConnectedFormat
          Allows you to specify the style of a created connected element
 
Constructor Summary
BasicFormats()
           
 
Method Summary
static Format asArrows(InsertionInterface ii, BasicFormats.ConnectedFormat toElementFormat, Direction d)
          Creates an arrow to represent the relationship
static BasicFormats.ConnectedFormat asContext(boolean border, Layout d, Label l)
           
static BasicFormats.ConnectedFormat asGlyph(String stereotypeOverride)
           
static Format asLink(InsertionInterface ii, BasicFormats.ConnectedFormat toElementFormat)
          Creates an arrow to represent the relationship
static Format asSymbols(InsertionInterface ii)
           
static Format asTextLines(InsertionInterface ii)
           
static String getLabel(NounPart in, NounPart from, InsertionInterface ii)
           
static SimpleNoun getUnderlyingSimpleNoun(NounPart in, InsertionInterface ii)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFormats

public BasicFormats()
Method Detail

getUnderlyingSimpleNoun

public static SimpleNoun getUnderlyingSimpleNoun(NounPart in,
                                                 InsertionInterface ii)

getLabel

public static String getLabel(NounPart in,
                              NounPart from,
                              InsertionInterface ii)

asGlyph

public static BasicFormats.ConnectedFormat asGlyph(String stereotypeOverride)

asContext

public static BasicFormats.ConnectedFormat asContext(boolean border,
                                                     Layout d,
                                                     Label l)

asArrows

public static Format asArrows(InsertionInterface ii,
                              BasicFormats.ConnectedFormat toElementFormat,
                              Direction d)
Creates an arrow to represent the relationship


asLink

public static Format asLink(InsertionInterface ii,
                            BasicFormats.ConnectedFormat toElementFormat)
Creates an arrow to represent the relationship


asSymbols

public static Format asSymbols(InsertionInterface ii)

asTextLines

public static Format asTextLines(InsertionInterface ii)


Copyright © 2011. All Rights Reserved.