sos.reports
Class ReportPaneUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--sos.reports.ReportPaneUI
Direct Known Subclasses:
BasicReportPaneUI

public abstract class ReportPaneUI
extends javax.swing.plaf.ComponentUI

The JReportPane pluggable look and feel delegate.

Since:
1.0
See Also:
JReportPane

Constructor Summary
ReportPaneUI()
           
 
Method Summary
abstract  View elementToView(JReportPane reportPane, Element element)
          Returns the view that represents the specified element.
abstract  View getRootView(JReportPane reportPane)
          Returns the top-level view rendering the report of the specified report pane.
 java.lang.String getToolTipText(JReportPane reportPane, java.awt.event.MouseEvent event)
          Returns the string to be used as the tooltip for event.
abstract  java.util.Set pointToElements(JReportPane reportPane, java.awt.Point point)
          Returns the set of elements occupying the specified point.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportPaneUI

public ReportPaneUI()
Method Detail

getRootView

public abstract View getRootView(JReportPane reportPane)
Returns the top-level view rendering the report of the specified report pane.

Parameters:
reportPane - the report pane whose root view is requested
Returns:
the root view of the specified report pane

getToolTipText

public java.lang.String getToolTipText(JReportPane reportPane,
                                       java.awt.event.MouseEvent event)
Returns the string to be used as the tooltip for event. By default this returns null.

Parameters:
reportPane - the report pane for which the tool tip is requested
event - the mouse event triggering the request
Returns:
the tooltip for reportPane as a result of event

elementToView

public abstract View elementToView(JReportPane reportPane,
                                   Element element)
Returns the view that represents the specified element.

Parameters:
reportPane - the report pane for which the tool tip is requested
element - the report element for which the corresponding view is requested
Returns:
the view of element

pointToElements

public abstract java.util.Set pointToElements(JReportPane reportPane,
                                              java.awt.Point point)
Returns the set of elements occupying the specified point.

Parameters:
reportPane - the report pane for which the elements are requested
point - the point at which the elements are requested
Returns:
the set of elements at point


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.