Foxit PDF SDK
|
Public Member Functions | |
ButtonItem () | |
Constructor. | |
ButtonItem (ButtonItem button_item) | |
Constructor, with another button item object. More... | |
ButtonItem (String name, int pos, String exec, String enable, String marked, String tooltip, String label, Bitmap bitmap) | |
Constructor, with parameters. More... | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Bitmap | getBitmap () |
Get a bitmap object of button. More... | |
String | getEnable () |
Get an expression string that determines whether to enable the toolbutton. More... | |
String | getExec () |
Get the expression string to evaluate when the button is selected. More... | |
String | getLabel () |
Get a text label to be displayed on the button to the right of the icon. More... | |
String | getMarked () |
Get an expression string that determines whether the toolbutton is marked. More... | |
String | getName () |
Get a unique language-independent identifier for the button. More... | |
int | getPos () |
Get the button number to place the added button in the toolbar. More... | |
String | getTooltip () |
Get the text to display in the button help text when the mouse is over the toolbutton. More... | |
void | set (String name, int pos, String exec, String enable, String marked, String tooltip, String label, Bitmap bitmap) |
Set values. More... | |
void | setBitmap (Bitmap value) |
Set a bitmap object of button. More... | |
void | setEnable (String value) |
Set an expression string that determines whether to enable the toolbutton. More... | |
void | setExec (String value) |
Set the expression string to evaluate when the button is selected. More... | |
void | setLabel (String value) |
Set a text label to be displayed on the button to the right of the icon. More... | |
void | setMarked (String value) |
Set an expression string that determines whether the toolbutton is marked. More... | |
void | setName (String value) |
Set a unique language-independent identifier for the button. More... | |
void | setPos (int value) |
Set the button number to place the added button in the toolbar. More... | |
void | setTooltip (String value) |
Set the text to display in the button help text when the mouse is over the toolbutton. More... | |
This class represents button item.
com.foxit.sdk.ButtonItem.ButtonItem | ( | String | name, |
int | pos, | ||
String | exec, | ||
String | enable, | ||
String | marked, | ||
String | tooltip, | ||
String | label, | ||
Bitmap | bitmap | ||
) |
Constructor, with parameters.
[in] | name | A unique language-independent identifier for the button. |
[in] | pos | The button number to place the added button in the toolbar. |
[in] | exec | The expression string to evaluate when the button is selected. |
[in] | enable | An expression string that determines whether to enable the toolbutton. |
[in] | marked | An expression string that determines whether the toolbutton is marked. |
[in] | tooltip | The text to display in the button help text when the mouse is over the toolbutton. |
[in] | label | A text label to be displayed on the button to the right of the icon. |
[in] | bitmap | A bitmap object of button. |
com.foxit.sdk.ButtonItem.ButtonItem | ( | ButtonItem | button_item | ) |
Constructor, with another button item object.
[in] | button_item | Another button item object. |
synchronized void com.foxit.sdk.ButtonItem.delete | ( | ) |
Clean up related resources immediately.
com.foxit.sdk.ButtonItem.getBitmap | ( | ) |
Get a bitmap object of button.
com.foxit.sdk.ButtonItem.getEnable | ( | ) |
Get an expression string that determines whether to enable the toolbutton.
com.foxit.sdk.ButtonItem.getExec | ( | ) |
Get the expression string to evaluate when the button is selected.
com.foxit.sdk.ButtonItem.getLabel | ( | ) |
Get a text label to be displayed on the button to the right of the icon.
com.foxit.sdk.ButtonItem.getMarked | ( | ) |
Get an expression string that determines whether the toolbutton is marked.
com.foxit.sdk.ButtonItem.getName | ( | ) |
Get a unique language-independent identifier for the button.
com.foxit.sdk.ButtonItem.getPos | ( | ) |
Get the button number to place the added button in the toolbar.
com.foxit.sdk.ButtonItem.getTooltip | ( | ) |
Get the text to display in the button help text when the mouse is over the toolbutton.
void com.foxit.sdk.ButtonItem.set | ( | String | name, |
int | pos, | ||
String | exec, | ||
String | enable, | ||
String | marked, | ||
String | tooltip, | ||
String | label, | ||
Bitmap | bitmap | ||
) |
Set values.
[in] | name | A unique language-independent identifier for the button. |
[in] | pos | The button number to place the added button in the toolbar. |
[in] | exec | The expression string to evaluate when the button is selected. |
[in] | enable | An expression string that determines whether to enable the toolbutton. |
[in] | marked | An expression string that determines whether the toolbutton is marked. |
[in] | tooltip | The text to display in the button help text when the mouse is over the toolbutton. |
[in] | label | A text label to be displayed on the button to the right of the icon. |
[in] | bitmap | A bitmap object of button. |
com.foxit.sdk.ButtonItem.setBitmap | ( | Bitmap | value | ) |
Set a bitmap object of button.
[in] | value | A bitmap object of button. |
com.foxit.sdk.ButtonItem.setEnable | ( | String | value | ) |
Set an expression string that determines whether to enable the toolbutton.
[in] | value | An expression string that determines whether to enable the toolbutton. |
com.foxit.sdk.ButtonItem.setExec | ( | String | value | ) |
Set the expression string to evaluate when the button is selected.
[in] | value | The expression string to evaluate when the button is selected. |
com.foxit.sdk.ButtonItem.setLabel | ( | String | value | ) |
Set a text label to be displayed on the button to the right of the icon.
[in] | value | A text label to be displayed on the button to the right of the icon. |
com.foxit.sdk.ButtonItem.setMarked | ( | String | value | ) |
Set an expression string that determines whether the toolbutton is marked.
[in] | value | An expression string that determines whether the toolbutton is marked. |
com.foxit.sdk.ButtonItem.setName | ( | String | value | ) |
Set a unique language-independent identifier for the button.
[in] | value | A unique language-independent identifier for the button. |
com.foxit.sdk.ButtonItem.setPos | ( | int | value | ) |
Set the button number to place the added button in the toolbar.
[in] | value | The button number to place the added button in the toolbar. |
com.foxit.sdk.ButtonItem.setTooltip | ( | String | value | ) |
Set the text to display in the button help text when the mouse is over the toolbutton.
[in] | value | The text to display in the button help text when the mouse is over the toolbutton. |