|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.domain.model.output.view.LineOutputView
public class LineOutputView
To view the LineOutput object
Constructor Summary | |
---|---|
LineOutputView(LineOutput inLineOutput,
java.awt.Font inFont,
java.awt.FontMetrics inFontMetrics)
Constructs a LineOutputView and sets the pointer to the LineOutput object |
Method Summary | |
---|---|
LineOutput |
getLineOutput()
Gets the pointer to the LineOutput object |
int |
getNumReturns()
Get the number of lines that this LineOutputView is on |
java.lang.String |
getOutput()
Gets the output of the LineOutput object |
int |
getX()
Gets the x-coordinate of the LineOutputView |
int |
getY()
Gets the y-coordinate of the LineOutputView |
boolean |
isBorderShown()
relays whether the border is shown or not |
boolean |
isInArea(int x,
int y,
java.awt.Graphics g)
Relays whether the coordinates are in the area of this LineOutputView |
static void |
main(java.lang.String[] args)
Sets the y coordinate of this LineOutputView public void setY( int y ) { posY = y; } |
void |
moveView(int x,
int y)
Moves the LineOutputView x pixels to the left or right an y pixels up an down |
void |
paintView(java.awt.Point point,
java.awt.Graphics g)
|
void |
setCoordinates(int x,
int y)
Sets both the x and y coordinates of this LineOutputView |
void |
showBorder(boolean borderShow)
Tells the LineOutputView to show its border |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineOutputView(LineOutput inLineOutput, java.awt.Font inFont, java.awt.FontMetrics inFontMetrics)
Method Detail |
---|
public void paintView(java.awt.Point point, java.awt.Graphics g)
public LineOutput getLineOutput()
public int getNumReturns()
public int getX()
public int getY()
public java.lang.String getOutput()
public boolean isBorderShown()
public boolean isInArea(int x, int y, java.awt.Graphics g)
public void setCoordinates(int x, int y)
public void moveView(int x, int y)
public void showBorder(boolean borderShow)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |