RHI - Type of validation result.public abstract class AbstractStickerFeedback<RHI> extends Object implements com.google.code.validationframework.api.resulthandler.ResultHandler<RHI>, com.google.code.validationframework.api.common.Disposable
| Constructor and Description |
|---|
AbstractStickerFeedback(JComponent owner)
Constructor attaching the tooltip sticker to the specified component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach(JComponent owner)
Attaches the tooltip sticker to the specified component.
|
void |
detach()
Hides and detaches the tooltip sticker from the owner component.
|
void |
dispose() |
protected String |
getToolTipText()
Gets the tooltip text to be displayed.
|
protected void |
hideToolTip()
Hides the tooltip sticker.
|
protected void |
setToolTipText(String text)
Sets the tooltip text to be displayed.
|
protected void |
showToolTip()
Shows the tooltip sticker.
|
public AbstractStickerFeedback(JComponent owner)
owner - Attaches the tooltip sticker to the specified component.public void attach(JComponent owner)
owner - Component to attach to.public void detach()
protected String getToolTipText()
protected void setToolTipText(String text)
text - Text to be displayed as a tooltip.protected void showToolTip()
protected void hideToolTip()
public void dispose()
dispose in interface com.google.code.validationframework.api.common.DisposableDisposable.dispose()Copyright © 2015. All Rights Reserved.