net.sourceforge.plantuml.asciiart
Class TranslatedCharArea

java.lang.Object
  extended by net.sourceforge.plantuml.asciiart.TranslatedCharArea
All Implemented Interfaces:
BasicCharArea, UmlCharArea

public class TranslatedCharArea
extends Object
implements UmlCharArea


Field Summary
 
Fields inherited from interface net.sourceforge.plantuml.asciiart.UmlCharArea
STICKMAN_HEIGHT, STICKMAN_UNICODE_HEIGHT
 
Constructor Summary
TranslatedCharArea(UmlCharArea charArea, int dx, int dy)
           
 
Method Summary
 void drawBoxSimple(int x, int y, int width, int height)
           
 void drawBoxSimpleUnicode(int x, int y, int width, int height)
           
 void drawChar(char c, int x, int y)
           
 void drawHLine(char c, int line, int col1, int col2)
           
 void drawHLine(char c, int line, int col1, int col2, char ifFound, char thenUse)
           
 void drawNoteSimple(int x, int y, int width, int height)
           
 void drawNoteSimpleUnicode(int x, int y, int width, int height)
           
 void drawStickMan(int x, int y)
           
 void drawStickManUnicode(int x, int y)
           
 void drawStringLR(String string, int x, int y)
           
 void drawStringsLR(Collection<? extends CharSequence> strings, int x, int y)
           
 void drawStringTB(String string, int x, int y)
           
 void drawVLine(char c, int col, int line1, int line2)
           
 void fillRect(char c, int x, int y, int width, int height)
           
 int getHeight()
           
 String getLine(int line)
           
 List<String> getLines()
           
 int getWidth()
           
 void print(PrintStream ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatedCharArea

public TranslatedCharArea(UmlCharArea charArea,
                          int dx,
                          int dy)
Method Detail

drawBoxSimple

public void drawBoxSimple(int x,
                          int y,
                          int width,
                          int height)
Specified by:
drawBoxSimple in interface UmlCharArea

drawBoxSimpleUnicode

public void drawBoxSimpleUnicode(int x,
                                 int y,
                                 int width,
                                 int height)
Specified by:
drawBoxSimpleUnicode in interface UmlCharArea

drawNoteSimple

public void drawNoteSimple(int x,
                           int y,
                           int width,
                           int height)
Specified by:
drawNoteSimple in interface UmlCharArea

drawNoteSimpleUnicode

public void drawNoteSimpleUnicode(int x,
                                  int y,
                                  int width,
                                  int height)
Specified by:
drawNoteSimpleUnicode in interface UmlCharArea

drawStickMan

public void drawStickMan(int x,
                         int y)
Specified by:
drawStickMan in interface UmlCharArea

drawStickManUnicode

public void drawStickManUnicode(int x,
                                int y)
Specified by:
drawStickManUnicode in interface UmlCharArea

drawChar

public void drawChar(char c,
                     int x,
                     int y)
Specified by:
drawChar in interface BasicCharArea

drawHLine

public void drawHLine(char c,
                      int line,
                      int col1,
                      int col2)
Specified by:
drawHLine in interface BasicCharArea

drawHLine

public void drawHLine(char c,
                      int line,
                      int col1,
                      int col2,
                      char ifFound,
                      char thenUse)
Specified by:
drawHLine in interface BasicCharArea

drawStringLR

public void drawStringLR(String string,
                         int x,
                         int y)
Specified by:
drawStringLR in interface BasicCharArea

drawStringTB

public void drawStringTB(String string,
                         int x,
                         int y)
Specified by:
drawStringTB in interface BasicCharArea

drawVLine

public void drawVLine(char c,
                      int col,
                      int line1,
                      int line2)
Specified by:
drawVLine in interface BasicCharArea

getHeight

public int getHeight()
Specified by:
getHeight in interface BasicCharArea

getWidth

public int getWidth()
Specified by:
getWidth in interface BasicCharArea

getLine

public String getLine(int line)
Specified by:
getLine in interface BasicCharArea

getLines

public List<String> getLines()
Specified by:
getLines in interface BasicCharArea

print

public void print(PrintStream ps)
Specified by:
print in interface BasicCharArea

drawStringsLR

public void drawStringsLR(Collection<? extends CharSequence> strings,
                          int x,
                          int y)
Specified by:
drawStringsLR in interface UmlCharArea

fillRect

public void fillRect(char c,
                     int x,
                     int y,
                     int width,
                     int height)
Specified by:
fillRect in interface BasicCharArea


Copyright © 2012. All Rights Reserved.