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

E13403-05

oracle.javatools.ui.datatips
Class DataTipWindow

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

public class DataTipWindow
extends java.lang.Object

DataTips appear on screen as a series of overlapping windows with each level being on level of a branch of the data model. A DataTipWindow is the implementation of one of those windows.


Constructor Summary
DataTipWindow(DataTipWindow parentTipWindow, java.awt.Window owner, oracle.javatools.ui.datatips.NodeTableModel tableModel, TableCustomizer tableCustomizer)
           
 
Method Summary
 void dispose()
          Will hide and clean up this tip window, and then call dispose on its child DataTipWindow
 void disposeAll()
          Will hide and clean up this tip window, and then call dispose on its child DataTipWindow, then call disposeAll up the DataTipWindow hierarchy until it reaches the root tip window
 void disposeChildren()
          Will call dispose on this windows child DataTipWindow
 DataTipWindow getChildTipWindow()
           
 java.awt.Rectangle getScreenBounds()
          Get the bounds of this DataTip window in screen coordinates
 int getSelectedRow()
           
 javax.swing.JWindow getWindow()
           
 boolean isExpanded()
           
 void setLocationRectangle(java.awt.Rectangle rect)
          Location of this data tip window in screen coordinates, the tip will appear around this bounding rectangle, but will not obscure it
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTipWindow

public DataTipWindow(DataTipWindow parentTipWindow,
                     java.awt.Window owner,
                     oracle.javatools.ui.datatips.NodeTableModel tableModel,
                     TableCustomizer tableCustomizer)
Method Detail

setLocationRectangle

public void setLocationRectangle(java.awt.Rectangle rect)
Location of this data tip window in screen coordinates, the tip will appear around this bounding rectangle, but will not obscure it

Parameters:
rect -

setVisible

public void setVisible(boolean visible)

isExpanded

public boolean isExpanded()
Returns:
true if this window has expanded and is displaying another sub-DataTipWindow

getSelectedRow

public int getSelectedRow()

dispose

public void dispose()
Will hide and clean up this tip window, and then call dispose on its child DataTipWindow


disposeChildren

public void disposeChildren()
Will call dispose on this windows child DataTipWindow


disposeAll

public void disposeAll()
Will hide and clean up this tip window, and then call dispose on its child DataTipWindow, then call disposeAll up the DataTipWindow hierarchy until it reaches the root tip window


getScreenBounds

public java.awt.Rectangle getScreenBounds()
Get the bounds of this DataTip window in screen coordinates

Returns:
The bounds in screen coordinates or null if this window is not visible yet or anymore.

getChildTipWindow

public DataTipWindow getChildTipWindow()
Returns:
the child TipWindow of this window (if one is available)

getWindow

public javax.swing.JWindow getWindow()

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

E13403-05

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