net.sourceforge.plantuml.salt.element
Class ElementMenuBar

java.lang.Object
  extended by net.sourceforge.plantuml.salt.element.ElementMenuBar
All Implemented Interfaces:
Element

public class ElementMenuBar
extends Object
implements Element


Constructor Summary
ElementMenuBar(UFont font, SpriteContainer spriteContainer)
           
 
Method Summary
 void addEntry(String s)
           
 void addSubEntry(String s, String sub)
           
 void drawU(UGraphic ug, double x, double y, int zIndex, Dimension2D dimToUse)
           
 Dimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementMenuBar

public ElementMenuBar(UFont font,
                      SpriteContainer spriteContainer)
Method Detail

addEntry

public void addEntry(String s)

addSubEntry

public void addSubEntry(String s,
                        String sub)

getPreferredDimension

public Dimension2D getPreferredDimension(StringBounder stringBounder,
                                         double x,
                                         double y)
Specified by:
getPreferredDimension in interface Element

drawU

public void drawU(UGraphic ug,
                  double x,
                  double y,
                  int zIndex,
                  Dimension2D dimToUse)
Specified by:
drawU in interface Element


Copyright © 2013. All Rights Reserved.