|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ToolBar
The toolbar which contains various buttons.
| Field Summary | |
|---|---|
static int |
BUTTONS_GENERAL
Button group of all "general" buttons |
static int |
BUTTONS_NAVIGATION
Button group of all "navigation" buttons such as "next page", "previous page", etc. |
static int |
BUTTONS_REPORT
Button group of all various "report" buttons such as "search", "export", and "refresh". |
static int |
BUTTONS_VIEW
Button group of all "view" buttons such as "double page view", "single page view", etc. |
static int |
BUTTONS_ZOOM
Button group of all "zoom" buttons, that is - "zoom in", "zoom out". |
static int |
BUTTON_EXPORT
Button responsible for the export action |
static int |
BUTTON_INFO
Button responsible for showing the info dialog |
static int |
BUTTON_JRA_LOAD
Button responsible for action loading java report archive (JRA) |
static int |
BUTTON_JRA_SAVE
Button responsible for action saving java report archive (JRA) |
static int |
BUTTON_PRINT
Button responsible for the print action |
static int |
BUTTON_REFRESH
Button responsible for the refresh action |
static int |
BUTTON_SEARCH
Button responsible for the search action |
| Method Summary | |
|---|---|
java.awt.Component |
getComponent()
Returns the gui component of this toolbar. |
boolean |
isButtonsVisible(int buttons)
Return true if the button or button group is visible otherwise false. |
boolean |
isVisible()
Determines whether this component should be visible when its parent is visible. |
void |
setButtonsVisible(int buttons,
boolean visible)
Sets a button or a button group visible or invisible. |
void |
setVisible(boolean vis)
Shows or hides this component depending on the value of parameter b. |
| Methods inherited from interface com.inet.viewer.ReportViewChangeListener |
|---|
reportViewChanged |
| Field Detail |
|---|
static final int BUTTONS_GENERAL
static final int BUTTONS_NAVIGATION
static final int BUTTONS_VIEW
static final int BUTTONS_ZOOM
static final int BUTTONS_REPORT
static final int BUTTON_PRINT
static final int BUTTON_REFRESH
static final int BUTTON_EXPORT
static final int BUTTON_SEARCH
static final int BUTTON_INFO
static final int BUTTON_JRA_LOAD
static final int BUTTON_JRA_SAVE
| Method Detail |
|---|
void setButtonsVisible(int buttons,
boolean visible)
buttons - The identifier for the button or button groupvisible - True if the button shoulb be visible otherwise falseBUTTON_EXPORT,
BUTTON_PRINT,
BUTTON_REFRESH,
BUTTON_SEARCH,
BUTTONS_GENERAL,
BUTTONS_NAVIGATION,
BUTTONS_REPORT,
BUTTONS_VIEW,
BUTTONS_ZOOM,
BUTTON_INFOboolean isButtonsVisible(int buttons)
buttons - The specified button or button group
BUTTON_EXPORT,
BUTTON_PRINT,
BUTTON_REFRESH,
BUTTON_SEARCH,
BUTTONS_GENERAL,
BUTTONS_NAVIGATION,
BUTTONS_REPORT,
BUTTONS_VIEW,
BUTTONS_ZOOM,
BUTTON_INFOvoid setVisible(boolean vis)
b.
vis - if true, shows this component; otherwise, hides this componentboolean isVisible()
Frame
objects.
true if the component is visible, false otherwisejava.awt.Component getComponent()
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||