|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectInformationControlReplacer
com.ibm.lpex.alef.LpexStickyHoverManager
public class LpexStickyHoverManager
Implements a sticky hover control, i.e. a control that replaces a hover with an enriched and focusable control.
The information control is made visible on request by calling
showInformationControl(Rectangle).
Clients usually instantiate and configure this class before using it. The configuration
must be consistent: This means the used IInformationControlCreator
must create an information control expecting information in the same format the configured
IInformationProviders use to encode the information they provide.
| Constructor Summary | |
|---|---|
LpexStickyHoverManager(LpexTextViewer textViewer,
AbstractHoverInformationControlManager hoverMgr)
Creates a new sticky hover manager. |
|
| Method Summary | |
|---|---|
protected void |
handleInformationControlDisposed()
|
void |
hideInformationControl()
|
void |
replaceInformationControl(IInformationControlCreator informationPresenterControlCreator,
Rectangle contentBounds,
Object information,
Rectangle subjectArea,
boolean takeFocus)
|
boolean |
requestWidgetToken(IWidgetTokenOwner owner)
|
boolean |
requestWidgetToken(IWidgetTokenOwner owner,
int priority)
|
boolean |
setFocus(IWidgetTokenOwner owner)
|
protected void |
showInformationControl(Rectangle subjectArea)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LpexStickyHoverManager(LpexTextViewer textViewer,
AbstractHoverInformationControlManager hoverMgr)
textViewer - the text viewerfTextHoverManager - | Method Detail |
|---|
protected void showInformationControl(Rectangle subjectArea)
public void hideInformationControl()
protected void handleInformationControlDisposed()
public boolean requestWidgetToken(IWidgetTokenOwner owner)
public boolean requestWidgetToken(IWidgetTokenOwner owner,
int priority)
public boolean setFocus(IWidgetTokenOwner owner)
public void replaceInformationControl(IInformationControlCreator informationPresenterControlCreator,
Rectangle contentBounds,
Object information,
Rectangle subjectArea,
boolean takeFocus)
|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||