|
LPEX 3.6.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.core.LpexBaseAction
com.ibm.lpex.samples.ZoomAction
public class ZoomAction
Sample action zoom - zoom in / out a segment of the document. This action lets you set a zoom-in segment to the current selection in the document, and then zoom out / in this segment.
Here is the ZoomAction source code.
To run this sample:
set actionClass.zoom com.ibm.lpex.samples.ZoomAction
action zoomor associate it with a key (here,
Alt+.
):
set keyAction.a-period zoom
TestUserProfile
,
All the samples
Constructor Summary | |
---|---|
ZoomAction()
|
Method Summary | |
---|---|
void |
doAction(LpexView lpexView)
Zoom in / out. |
String |
getToolTipText(LpexView lpexView)
This method in the defined action will be called to query the hover help text for the action. |
Methods inherited from class com.ibm.lpex.core.LpexBaseAction |
---|
available, checkable, checked, getHelpId, screenShow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZoomAction()
Method Detail |
---|
public void doAction(LpexView lpexView)
lpexView
- the document view in which the action is issuedpublic String getToolTipText(LpexView lpexView)
LpexBaseAction
The default implementation of this method returns null
.
getToolTipText
in class LpexBaseAction
lpexView
- the document view for which this action's hover help text is
queried
|
LPEX 3.6.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |