

Public Member Functions | |
| GeneralGraphView (VistaApp vapp, GeneralGraphModel model, NumberFormat yUnitsFormat) | |
| GeneralGraphView (VistaApp vapp, GeneralGraphModel model, NumberFormat yUnitsFormat, int i) | |
| GeneralGraphView | getGeneralGraphView (int i, int number) | 
| void | clearChildren () | 
| void | selectChildren () | 
| void | unselectChildren () | 
| void | setParent (GeneralGraphView p) | 
| void | setName (String name) | 
| void | addCurve (CurveView curve) | 
| Iterator | getCurveViews () | 
| void | setContigs (Vector cont) | 
| double | getGraphWidth () | 
| double | getGraphHeight () | 
| GeneralGraphModel | getGraphModel () | 
| void | setGraphModel (GeneralGraphModel gm) | 
| GeneralGraphComp | getGraphComp () | 
| void | flipSelected () | 
| void | select () | 
| boolean | unselect () | 
| boolean | isSelected () | 
| void | setSelected (boolean s) | 
| void | paintComponent (Graphics g) | 
| String | getGraphName () | 
| String | getLongName () | 
| int | getGraphPos () | 
| void | setGraphPos (int pos) | 
| void | refresh (long minX, long maxX) | 
| String | toString () | 
| Graphics2D | createImage () | 
| void | removeImage () | 
| void | removeCompImage () | 
| ContigPanel | getContigPanel () | 
| Vector | getStatistics () | 
| void | setVisible (boolean visible) | 
| boolean | isVisible () | 
| void | checkVisible () | 
Public Attributes | |
| String | minProc = "" | 
| String | maxProc = "" | 
Protected Member Functions | |
| void | uiInit () | 
Protected Attributes | |
| GeneralGraphModel | model = null | 
| GeneralGraphComp | graph = null | 
| GeneralGraphComp[] | graphs = null | 
| GeneralGraphView | newGraphView = null | 
| Collection | curveViews = new Vector() | 
| DisplayPanel | dp | 
| GeneralGraphView | parent = null | 
| Vector | children = null | 
| BufferedImage | image = null | 
| VGBPanel | pnlName = new VGBPanel(va) | 
| VGBPanel | pnlYAxis = new VGBPanel(va) | 
| VGBPanel[] | pnlNames = null | 
| VGBPanel[] | pnlYAxiss = null | 
| VGBPanel | pnlGraph = new VGBPanel(va) | 
| VGBPanel[] | pnlGraphs = null | 
| VGBPanel | pnlContig = new VGBPanel(va) | 
| VGBPanel | pnlContainer = new VGBPanel(va) | 
| VistaLabel | lblName = null | 
| VistaLabel | lblMinY = null | 
| VistaLabel | lblMaxY = null | 
| AxisPanel | axisPanel = new AxisPanel(va) | 
| ContigPanel | contigPanel = null | 
| NumberFormat | yUnitsFormat = null | 
| boolean | selected = false | 
Static Protected Attributes | |
| final int | DEFAULT_GRAPH_WIDTH | 
| final int | DEFAULT_GRAPH_VIEW_HEIGHT | 
Package Attributes | |
| MouseMotionListener | onMML | 
| MouseListener | onML | 
Description: This is the view of a graph.
Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory
Company: LBNL
      
  | 
  ||||||||||||||||
| 
 create parent GeneralGraphView 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 create child GeneralGraphView 
 
  | 
  
      
  | 
  
| 
 add Curve 
 
  | 
  
      
  | 
  
| 
 If graph vie contains invisible curve, then the graph view will be marked as invisible 
  | 
  
      
  | 
  
| 
 remove Children  | 
  
      
  | 
  
| 
 create transparent Image if the graph view is not selected and semi-transparent gray bar if the graph view is selected 
 
  | 
  
      
  | 
  
| 
 reverse selection  | 
  
      
  | 
  
| 
 return Contig Panel 
 
  | 
  
      
  | 
  
| 
 return Curve Views 
 
  | 
  
      
  | 
  ||||||||||||
| 
 create child GeneralGraphView 
 
 
  | 
  
      
  | 
  
| 
 return GeneralGraphComp 
 
  | 
  
      
  | 
  
| 
 return Graph Height 
 
  | 
  
      
  | 
  
| 
 return Graph Model 
 
  | 
  
      
  | 
  
| 
 return Name 
 
  | 
  
      
  | 
  
| 
 return position of the graph view in the display panel 
 
  | 
  
      
  | 
  
| 
 return Graph Width 
 
  | 
  
      
  | 
  
| 
 return Long Name 
 
  | 
  
      
  | 
  
| 
 return Statistics 
  | 
  
      
  | 
  
| 
 return true if selected 
 
  | 
  
      
  | 
  
| 
 return true if visible 
 
  | 
  
      
  | 
  
| 
 paint graph view 
 
  | 
  
      
  | 
  ||||||||||||
| 
 refresh all curves 
 
  | 
  
      
  | 
  
| 
 remove Comp Image and contig Image  | 
  
      
  | 
  
| 
 remove Images  | 
  
      
  | 
  
| 
 select the graph view  | 
  
      
  | 
  
| 
 select all Children  | 
  
      
  | 
  
| 
 set Contigs 
 
  | 
  
      
  | 
  
| 
 set Graph Model 
 
  | 
  
      
  | 
  
| 
 set position of the graph view in the display panel 
 
  | 
  
      
  | 
  
| 
 set Name 
 
  | 
  
      
  | 
  
| 
 set Parent 
 
  | 
  
      
  | 
  
| 
 set Selected 
 
  | 
  
      
  | 
  
| 
 set Visible mode 
 
  | 
  
      
  | 
  
| 
 return graph name 
 
  | 
  
      
  | 
  
| 
 build graph view  | 
  
      
  | 
  
| 
 unselect the graph view 
 
  | 
  
      
  | 
  
| 
 unselect all Children  | 
  
      
  | 
  
| 
 Initial value:  UIConstants.
      GRAPH_HEIGHT + UIConstants.GRAPH_SPACER_HEIGHT
 | 
  
      
  | 
  
| 
 Initial value:  UIConstants.
      DEFAULT_GRAPH_WIDTH
 | 
  
      
  | 
  
| 
 Initial value: new MouseMotionListener() { public void mouseMoved(MouseEvent e) { contigPanel.dispatch(SwingUtilities.convertMouseEvent(graph, e, contigPanel)); } public void mouseDragged(MouseEvent e) { contigPanel.dispatch(SwingUtilities.convertMouseEvent(GGV, e, contigPanel)); } }  | 
  
 1.3.9.1