|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.tooltip.ExpandedTip<JTable>
com.jidesoft.tooltip.TableRowExpandedTip
public class TableRowExpandedTip
TableRowExpandedTip enables the ExpandedTip feature for JTable.
| Field Summary |
|---|
| Fields inherited from class com.jidesoft.tooltip.ExpandedTip |
|---|
_component, CLIENT_PROPERTY_EXPANDED_TIP |
| Constructor Summary | |
|---|---|
TableRowExpandedTip(JTable table)
|
|
| Method Summary | |
|---|---|
Component |
getComponent(int index)
Gets the target component. |
Rectangle |
getRowBounds(int index)
Gets the bounds of the image that will be put on the tip. |
Rectangle |
getVisibleRect(int index)
Gets the visible rect of the component. |
void |
hideTip()
|
boolean |
isShowHeaderTip()
Gets the flag indicating if the header's expanded tip should be displayed as well when the row's expanded tip is showing. |
int |
rowAtPoint(Point point)
Gets the row index or the node index on the location. |
void |
setShowHeaderTip(boolean showHeaderTip)
Sets the flag indicating if the header's expanded tip should be displayed as well when the row's expanded tip is showing. |
void |
showTip()
|
void |
uninstall()
|
| Methods inherited from class com.jidesoft.tooltip.ExpandedTip |
|---|
createImage, createToolTipImage, fillBackground, getComponent, getExpandedTip, handleSelectionChange, handleSelectionChange, paintTipImage, setWindowShape, shouldDrawBorder, updateCurrentSelection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableRowExpandedTip(JTable table)
| Method Detail |
|---|
public void uninstall()
uninstall in class ExpandedTip<JTable>public Component getComponent(int index)
ExpandedTipExpandedTip.getRowBounds(int). What we will do is to take a capture of the image at the bounds on
the component and copy it to the tip component.
getComponent in class ExpandedTip<JTable>index - the index of the row or node.
public Rectangle getRowBounds(int index)
ExpandedTipExpandedTip.getComponent(int). The bounds should cover the row or the node. We will calculate it so that only the
invisible area is shown on the tip component.
getRowBounds in class ExpandedTip<JTable>index - the index of the row or node.
public Rectangle getVisibleRect(int index)
ExpandedTip
getVisibleRect in class ExpandedTip<JTable>index - the index of the row or node
public int rowAtPoint(Point point)
ExpandedTip
rowAtPoint in class ExpandedTip<JTable>point - the location.
public void hideTip()
hideTip in class ExpandedTip<JTable>public void showTip()
showTip in class ExpandedTip<JTable>public boolean isShowHeaderTip()
setShowHeaderTip(boolean)public void setShowHeaderTip(boolean showHeaderTip)
showHeaderTip - the flag
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||