public abstract class AbstractButton extends java.lang.Object implements java.lang.Comparable<AbstractButton>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOOKMARKS_TOOLBAR
Toolbar name for bookmarks
|
static java.lang.String |
BUTTON_HIDDEN
The state of a button which is hidden
|
static java.lang.String |
BUTTON_IN
The state of a button which is visible and depressed
|
static java.lang.String |
BUTTON_OUT
The state of a button which is visible but not depressed
|
static java.lang.String |
CONTENT_TOOLBAR
Toolbar name for the content pane, which shows help pages
|
static java.lang.String |
INDEX_TOOLBAR
Toolbar name for the keyword index
|
static java.lang.String |
SEARCH_TOOLBAR
Toolbar name for search results
|
static java.lang.String |
TOC_TOOLBAR
Toolbar name for the table of contents
|
| Constructor and Description |
|---|
AbstractButton() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AbstractButton o) |
abstract java.lang.String |
getAction()
a JavaScript function which will be called when the button is pressed
|
abstract java.lang.String |
getId()
Gets the id which will be assigned to the image of the button in the
generated HTML
|
abstract java.lang.String |
getImageURL() |
java.lang.String |
getJavaScriptURL()
Get the location of the a javascript file to be included in any
jsp file which uses this button
|
java.lang.String |
getState()
Get the state of a button
|
abstract java.lang.String |
getTooltip(java.util.Locale locale)
A user visible description of the button which will appear in the tooltip
|
boolean |
isAddedToToolbar(java.lang.String toolbarName)
Determines whether this button should be true if the button should be added
to particular toolbar
|
public static final java.lang.String BUTTON_OUT
public static final java.lang.String BUTTON_IN
public static final java.lang.String BUTTON_HIDDEN
public static final java.lang.String CONTENT_TOOLBAR
public static final java.lang.String TOC_TOOLBAR
public static final java.lang.String INDEX_TOOLBAR
public static final java.lang.String SEARCH_TOOLBAR
public static final java.lang.String BOOKMARKS_TOOLBAR
public abstract java.lang.String getId()
public abstract java.lang.String getImageURL()
public abstract java.lang.String getTooltip(java.util.Locale locale)
locale - the locale of the clientpublic abstract java.lang.String getAction()
public java.lang.String getState()
BUTTON_OUT, BUTTON_IN, or
BUTTON_HIDDEN.public java.lang.String getJavaScriptURL()
null if there.public boolean isAddedToToolbar(java.lang.String toolbarName)
toolbarName - public final int compareTo(AbstractButton o)
compareTo in interface java.lang.Comparable<AbstractButton>
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.