|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openpcl.pclrenderimage.render.PriCursorPos
public class PriCursorPos
All the Cursor positioning
Field Summary | |
---|---|
protected PclRenderImage |
mPclRenderImage
|
protected int |
mXpos
The current X and Y drawing position |
protected int |
mYpos
|
Constructor Summary | |
---|---|
PriCursorPos(PclRenderImage pPclRenderImage)
Constructor |
Method Summary | |
---|---|
void |
absoluteXPosition(int xPos)
The absolute X position command. |
void |
absoluteYPosition(int yPos)
The absolute Y position command. |
void |
freeUpMemory()
When the user is done with this rendering session, then free up memory |
int |
getXpos()
Get X position |
int |
getYpos()
Get Y position |
int |
getYposAt100PctZoom()
Get Y position at 100 percent zoom |
int |
getYposWithoutTopMarginAdjustment()
Get Y position without top margin adjustment |
void |
relativeXPosition(int xPos)
The relative X position command. |
void |
relativeYByNumberOfRows(String pNumRowsToMoveString)
The number of Y pixels to the next or previous row is defined as the number of dots per inch divided by the number of lines per inch. |
void |
relativeYPosition(int yPos)
The relative Y position command. |
void |
setToInitialValues()
Set to initial values |
void |
xPositionCommand(String pCmdValue)
The X position command. |
void |
yPositionCommand(String pCmdValue)
The Y position command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PclRenderImage mPclRenderImage
protected int mXpos
protected int mYpos
Constructor Detail |
---|
public PriCursorPos(PclRenderImage pPclRenderImage)
Application
- mainAppBufferedImage
- viewBufferedImageMethod Detail |
---|
public void setToInitialValues()
public void freeUpMemory()
public int getXpos()
public int getYpos()
public int getYposWithoutTopMarginAdjustment()
public int getYposAt100PctZoom()
public void xPositionCommand(String pCmdValue)
public void yPositionCommand(String pCmdValue)
public void absoluteXPosition(int xPos)
public void absoluteYPosition(int yPos)
public void relativeXPosition(int xPos)
public void relativeYPosition(int yPos)
public void relativeYByNumberOfRows(String pNumRowsToMoveString)
pNumRowsToMoveString
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |