net.sourceforge.plantuml.salt.element
Class ElementMenuEntry

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

public class ElementMenuEntry
extends Object
implements Element


Constructor Summary
ElementMenuEntry(String text, UFont font)
           
 
Method Summary
 void drawU(UGraphic ug, double x, double y, int zIndex, Dimension2D dimToUse)
           
 HtmlColor getBackground()
           
 Dimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
           
 String getText()
           
 double getX()
           
 void setBackground(HtmlColor background)
           
 void setX(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementMenuEntry

public ElementMenuEntry(String text,
                        UFont font)
Method Detail

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

getX

public double getX()

setX

public void setX(double x)

getText

public String getText()

getBackground

public HtmlColor getBackground()

setBackground

public void setBackground(HtmlColor background)


Copyright © 2011. All Rights Reserved.