LPEX
3.6.7

com.ibm.lpex.samples
Class ZoomAction

java.lang.Object
  extended by com.ibm.lpex.core.LpexBaseAction
      extended by com.ibm.lpex.samples.ZoomAction
All Implemented Interfaces:
LpexAction

public class ZoomAction
extends LpexBaseAction

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:

See Also:
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

ZoomAction

public ZoomAction()
Method Detail

doAction

public void doAction(LpexView lpexView)
Zoom in / out.

Parameters:
lpexView - the document view in which the action is issued

getToolTipText

public String getToolTipText(LpexView lpexView)
Description copied from class: LpexBaseAction
This method in the defined action will be called to query the hover help text for the action.

The default implementation of this method returns null.

Overrides:
getToolTipText in class LpexBaseAction
Parameters:
lpexView - the document view for which this action's hover help text is queried

LPEX
3.6.7

Copyright © 2012 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.