|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.Frame
synergynetframework.appsystem.contentsystem.items.DocViewer
public class DocViewer
The Class DocViewer.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Method Summary | |
---|---|
void |
changePage()
Change page. |
void |
cursorClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor clicked. |
void |
cursorPressed(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor pressed. |
void |
cursorReleased(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor released. |
void |
firstPage()
First page. |
int |
getCurrentPageIndex()
Gets the current page index. |
int |
getPageCount()
Gets the page count. |
void |
gotoPage(int pageIndex)
Goto page. |
void |
lastPage()
Last page. |
void |
nextPage()
Next page. |
void |
previousPage()
Previous page. |
void |
setPageCount(int pageCount)
Sets the page count. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.Frame |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImageResources, getImages, removeAllImages, removeImage |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
---|
addSizeChangeListener, clone, getHeight, getWidth, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IFrameImplementation |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation |
---|
setAutoFitSize, setHeight, setWidth |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Method Detail |
---|
public void changePage()
IDocViewerImplementation
changePage
in interface IDocViewerImplementation
public void cursorClicked(ContentItem item, long id, float x, float y, float pressure)
ItemListener
cursorClicked
in interface ItemListener
cursorClicked
in class OrthoContentItem
item
- the itemid
- the idx
- the xy
- the ypressure
- the pressurepublic void cursorPressed(ContentItem item, long id, float x, float y, float pressure)
ItemListener
cursorPressed
in interface ItemListener
cursorPressed
in class OrthoContentItem
item
- the itemid
- the idx
- the xy
- the ypressure
- the pressurepublic void cursorReleased(ContentItem item, long id, float x, float y, float pressure)
ItemListener
cursorReleased
in interface ItemListener
cursorReleased
in class OrthoContentItem
item
- the itemid
- the idx
- the xy
- the ypressure
- the pressurepublic void firstPage()
public int getCurrentPageIndex()
public int getPageCount()
public void gotoPage(int pageIndex)
pageIndex
- the page indexpublic void lastPage()
public void nextPage()
public void previousPage()
public void setPageCount(int pageCount)
pageCount
- the new page count
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |