hep.wired.services
Interface GraphicsPanel


public interface GraphicsPanel

Interface for panel to display.

Version:
$Id: GraphicsPanel.java 8598 2006-08-14 20:38:02Z duns $
Author:
Mark Donszelmann

Method Summary
 GraphicsPanel copy()
          Returns a copy of this graphics panel.
 Feature getFeature(Class featureClass)
          Returns the feature if available
 Object getRecord()
          Returns the Record displayed in this panel.
 ViewPort getViewPort()
          Returns the viewport for this panel.
 JPopupMenu modifyPopupMenu(JPopupMenu menu, RecordPlot plot)
          Allows for modification of the popup menu
 void setFastMode(boolean fast)
          Switches to a fast mode for drawing (optional).
 void setRecord(Object record)
          Sets the Record to be displayed in this panel.
 void setSelected(RecordPlot plot, boolean selected)
          Designates the panel as selected.
 boolean supports(Class featureClass)
          Return true if feature is available
 

Method Detail

copy

GraphicsPanel copy()
Returns a copy of this graphics panel.


setRecord

void setRecord(Object record)
Sets the Record to be displayed in this panel.


getRecord

Object getRecord()
Returns the Record displayed in this panel.


supports

boolean supports(Class featureClass)
Return true if feature is available


getFeature

Feature getFeature(Class featureClass)
Returns the feature if available


getViewPort

ViewPort getViewPort()
Returns the viewport for this panel.


modifyPopupMenu

JPopupMenu modifyPopupMenu(JPopupMenu menu,
                           RecordPlot plot)
Allows for modification of the popup menu


setFastMode

void setFastMode(boolean fast)
Switches to a fast mode for drawing (optional).


setSelected

void setSelected(RecordPlot plot,
                 boolean selected)
Designates the panel as selected.



Copyright © 1996-2013 FreeHEP. All Rights Reserved.