|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ToolbarController.java
Copyright (c) 2000 Helge Hackbarth, All Rights Reserved.
Interface to be used for toolbar implementations to be controlled
by ImagePanel
THE AUTHOR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY
OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. THE AUTHOR SHALL NOT BE LIABLE FOR ANY
DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
Method Summary | |
int |
getPageNum()
get text of PageNum TextField and convert to int page number |
double |
getZoomFactor(double defaultZoom)
get zoom factor from zoom TextField |
void |
setNumPagesText(int numPages)
ToolbarController: set text of numPages Label to number of pages |
void |
setPageNumText(int pageNum)
set text of PageNum TextField to given page number |
void |
setZoomText(double zoomFactor)
set text of zoom TextField to zoomFactor |
Method Detail |
public void setPageNumText(int pageNum)
public int getPageNum()
public void setNumPagesText(int numPages)
public void setZoomText(double zoomFactor)
public double getZoomFactor(double defaultZoom)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |