com.lowagie.rups.view
public class PageNavigationAction extends Object implements IconActionListener
Field Summary | |
---|---|
static int | FIRST_PAGE Type to go to the first page. |
protected Icon | icon The icon corresponding with the action. |
protected PageNavigationListener | listener The object that is listening to the page navigation. |
static int | LAST_PAGE Type to go to the last page. |
static int | NEXT_PAGE Type to go to the next page. |
static int | PREVIOUS_PAGE Type to go to the previous page. |
protected int | type The type of this action. |
Constructor Summary | |
---|---|
PageNavigationAction(PageNavigationListener listener, int type, boolean withIcon)
Creates a page navigation action. |
Method Summary | |
---|---|
void | actionPerformed(ActionEvent evt) |
Icon | getIcon() |
Parameters: listener the object listening to the page navigation type the type of action withIcon if false, no icon will be attached to the action
See Also: java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
See Also: getIcon