|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.validationframework.swing.resulthandler.AbstractIconFeedback<RHI>
com.google.code.validationframework.swing.resulthandler.AbstractCellIconFeedback<RHI>
RHI - Type of result handler input.public abstract class AbstractCellIconFeedback<RHI>
Abstract implementation of a result handler using an IconComponentDecoration to show feedback to the user on
a table cell.
ResultHandler.handleResult(Object) method by calling the AbstractIconFeedback.showIcon()
and AbstractIconFeedback.hideIcon() methods according to the result.
AbstractIconFeedback| Constructor Summary | |
|---|---|
AbstractCellIconFeedback(JTable table,
int modelRowIndex,
int modelColumnIndex)
Constructor specifying the table and the cell to be decorated. |
|
| Method Summary | |
|---|---|
void |
attach(JComponent decoratedComponent,
AnchorLink anchorLinkWithOwner)
|
void |
detach()
|
AnchorLink |
getAnchorLink()
Gets the anchor link between the cell and its decoration. |
int |
getCellColumnIndex()
Gets the column model index of the decorated cell. |
int |
getCellRowIndex()
Gets the row model index of the decorated cell. |
void |
setAnchorLink(AnchorLink anchorLinkWithTableCell)
Sets the anchor link between the cell and its decoration. |
void |
setCellColumnIndex(int cellModelColumnIndex)
Sets the column model index of the cell to be decorated. |
void |
setCellRowIndex(int cellModelRowIndex)
Sets the row model index of the cell to be decorated. |
| Methods inherited from class com.google.code.validationframework.swing.resulthandler.AbstractIconFeedback |
|---|
attach, dispose, getClippingAncestor, getDecoratedComponent, getIcon, getToolTipText, hideIcon, setClippingAncestor, setIcon, setToolTipText, showIcon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.code.validationframework.api.resulthandler.ResultHandler |
|---|
handleResult |
| Constructor Detail |
|---|
public AbstractCellIconFeedback(JTable table,
int modelRowIndex,
int modelColumnIndex)
table - Table containing the cell to be decorated.modelRowIndex - Model row index of the cell to be decorated.modelColumnIndex - Model column index of the cell to be decorated.| Method Detail |
|---|
public void attach(JComponent decoratedComponent,
AnchorLink anchorLinkWithOwner)
attach in class AbstractIconFeedback<RHI>AbstractIconFeedback.detach()public void detach()
detach in class AbstractIconFeedback<RHI>AbstractIconFeedback.detach()public int getCellRowIndex()
public void setCellRowIndex(int cellModelRowIndex)
cellModelRowIndex - Row model index of the cell to be decorated.public int getCellColumnIndex()
public void setCellColumnIndex(int cellModelColumnIndex)
cellModelColumnIndex - Column model index of the cell to be decorated.public AnchorLink getAnchorLink()
getAnchorLink in class AbstractIconFeedback<RHI>AbstractComponentDecoration.getAnchorLink()public void setAnchorLink(AnchorLink anchorLinkWithTableCell)
setAnchorLink in class AbstractIconFeedback<RHI>anchorLinkWithTableCell - Anchor link between the cell and its decoration.AbstractComponentDecoration.setAnchorLink(AnchorLink)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||