Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.javatools.ui.datatips
Class DataTip

java.lang.Object
  extended by oracle.javatools.ui.datatips.DataTip


public class DataTip
extends java.lang.Object

A DataTip is a ui component that displays a TreeTableModel of information in a compact stack of overlapping panels. Each panel contains a table of information from one level of the treemodel, items in the table represent tree nodes. Expandable nodes will have an affordance to click on which will open another panel of information layered on top of the current panel. The new panel represents the children of the expanded node. This DataTip component manages the creation and hiding of the stack as a whole.


Constructor Summary
DataTip(java.awt.Frame parentFrame, DataTipModel model)
           

 

Method Summary
protected  void dispose()
           
 DataTipWindow getBaseTipWindow()
           
 TableCustomizer getTableCustomizer()
           
 void setDismissOnMouseExit(boolean dismiss)
          Set the flag that determines if the data tip window should automatically hide when the mouse is not over the window or any of its children anymore.
 void setLocationRectangle(java.awt.Rectangle rect)
          set the location of the base data tip window in screen coordinates.
 void setTableCustomizer(TableCustomizer tableCustomizer)
           
 void setVisible(boolean visible)
          Show or hide the data tip window.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DataTip

public DataTip(java.awt.Frame parentFrame,
               DataTipModel model)

Method Detail

setLocationRectangle

public void setLocationRectangle(java.awt.Rectangle rect)
set the location of the base data tip window in screen coordinates. The location is a rectangle rather than a point as the tip window will not always appear below.
Parameters:
rect - The rectangle (in screen co-ordinates) around which the tip could possibly appear.

setVisible

public void setVisible(boolean visible)
Show or hide the data tip window. Hiding the window will also hide all the visible children.
Parameters:
visible - If true, show the window, otherwise hide it

setDismissOnMouseExit

public void setDismissOnMouseExit(boolean dismiss)
Set the flag that determines if the data tip window should automatically hide when the mouse is not over the window or any of its children anymore. This flag is off by default
Parameters:
dismiss - If true, dismiss the window automatically if the mouse is not over the window or any of its children anymore

dispose

protected void dispose()

setTableCustomizer

public void setTableCustomizer(TableCustomizer tableCustomizer)

getTableCustomizer

public TableCustomizer getTableCustomizer()

getBaseTipWindow

public DataTipWindow getBaseTipWindow()
Returns:
The lowermost (root) TipWindow (if one has been created yet)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.