Public Member Functions | |
DisplayPanel (VistaApp vapp) | |
void | refreshAnnotations () |
void | refreshAnnotations (Status status) |
void | updateSelectList () |
synchronized void | removeGraph (int pos) |
synchronized Vector | getVisibleCurveNames () |
synchronized void | removeGraph (String name) |
void | resetPrintedGraphs () |
void | addPrintedGraph (int pos) |
void | removeAllGraphs () |
boolean | removeAllSelectedGraphs () |
Collection | getAllSelectedGraphs () |
void | unselectAllGraphs () |
void | setSettings () |
void | setDetails () |
void | setArrows () |
void | multiSelectGraphs () |
GeneralGraphView | getGraph (int pos) |
Collection | getAllGraphs () |
Vector | getAllCurves () |
Vector | getAllCurveInfos () |
RepeatPanel | getRepeatPanel () |
AnnotationPanel | getAnnotationPanel () |
synchronized void | replaceGraph (GeneralGraphView graph, int i) |
synchronized void | swapGraphs (int graph1, int graph2) |
synchronized void | moveSelectedUp () |
synchronized void | moveSelectedDown () |
int[] | getSelectedIndices () |
void | setSelectedIndices (int[] indices) |
void | rebuildPanel () |
void | addGraph (GeneralGraphView graph) |
void | removeDataImages () |
void | refreshGraphs () |
Vector | getStatistics () |
Dimension | getGraphPanelSize () |
TracerPanel | getTracerPanel () |
void | setTracerPanel (TracerPanel tp) |
JPopupMenu | getPopup () |
int | getNumberOfGraphs () |
int | getPanelCapacity () |
void | addCurves (Status status) |
void | addDefaultCurve (GenomeInfo genome) |
void | componentResized (ComponentEvent e) |
void | componentMoved (ComponentEvent e) |
void | componentShown (ComponentEvent e) |
void | componentHidden (ComponentEvent e) |
int | print (Graphics g, PageFormat pf, int pi) throws PrinterException |
void | drawContent (Graphics g, int width, int height) |
int | getPrintHeight (int graphs, int lines) |
void | drawContent (Graphics g, PageFormat pf) |
void | repaintTracerPanels () |
void | setXBorders (int x) |
void | resetXBorders () |
long | getChromDX () |
boolean | updatePosition () |
void | setPrintCapacity (int graphs, int lines) |
void | setFixedRows (int rows) |
int | getUniqOrganisms () |
int | getFirstSelectedIndex () |
void | selectGraph (int index) |
int | getLastSelectedIndex () |
void | hideGraph (String curveName) |
void | showGraph (String curveName) |
Public Attributes | |
int | pages = 0 |
int | currentPage = 0 |
int | prevPage = 0 |
int | curvesPerPage = 0 |
boolean | inTracerPanel = false |
boolean | dragged = false |
boolean | drawbar = false |
int | xstart = 0 |
int | xend = 0 |
int | startTracerPanel = 0 |
int | endTracerPanel = 0 |
int | activeTracerPanel = 0 |
Protected Member Functions | |
void | annotationLegend (Graphics g, Color color, int x, int y, String name) |
void | repeatLegend (Graphics g, Color color, int x, int y, String name) |
void | contigLegend (Graphics g, Color color, int x, int y, String name) |
Protected Attributes | |
AxisPanel | axisPanel = new AxisPanel(va) |
Thread | refreshThread = null |
Package Attributes | |
int | curveNum = -1 |
int | canAdd = 0 |
Vector | tracerPanels = null |
ArrowsPanel | arrowsPanel = null |
Description: This panal is a container for all graphical content
Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory
Company: LBNL
|
|
|
add Curves that are saved in status
|
|
add Default Curves for the genome
|
|
add new Graph to the and
|
|
add graph to a printedGraph list.
|
|
draw annotation legend
|
|
Logic of this method is the following: If number of rows is fixed and only vertical size changed - do nothing. In all other cases try to rebuild panel to show maximum details
|
|
draw contig legend
|
|
print content on the page (printer, PDF or image)
|
|
draw Content in area with specified size
|
|
return vector with all CurveInfo
|
|
return all curves in all graphs
|
|
return All Graphs
|
|
return list of All Selected Graphs
|
|
return Annotation Panel
|
|
return number of selected points
|
|
return index of the first (from top) selected graph
|
|
get Graph
|
|
return dimension of the graph panel
|
|
return index of the last (from top) selected graph
|
|
return Number Of Graphs
|
|
return number of rows that would be drawn in the panel
|
|
return Popup menu
|
|
return min height that is necessary to fit all the content
|
|
return Repeat Panel
|
|
return numbers of selected lines in the bottom panel curve list
|
|
return conservation Statistics for all curves
|
|
return Tracer Panel
|
|
return number uniq organisms
|
|
return names of visible Curves
|
|
hide Graph
|
|
move Selected Graphs Down
|
|
move Selected Graphs Up
|
|
select more than one graph |
|
print content
Reimplemented from gov::lbl::genome::gui::panel::VGBPanel. |
|
this method is responsible for positioning of all graphs, annotations, axis etc. |
|
set Annotations and repeats from Status.
|
|
request new information from the server for Annotations and repeats |
|
request new data from the server for all graphs and repaint |
|
remove All Graphs |
|
remove All Selected Graphs
|
|
remove images for all graphs, annotation panel, repeat panel and axis panel |
|
remove Graph
|
|
remove Graph
|
|
repaint all TracerPanels |
|
draw repeat legend
|
|
replace Graph at the "i" position by another graph
|
|
clear list of printed graphs |
|
resetXBorders |
|
select Graph in
|
|
set buttons with Arrows in the bottom panel |
|
Enable or disable detailsAction |
|
set number of rows to show in the Display Panel
|
|
Set number of graphs and lines to be printed
|
|
select lines in the bottom panel curve list
|
|
SettingsAction can be enabled only if all curves are of the same type |
|
set Tracer Panel
|
|
set Borders of the selected region
|
|
show Graph
|
|
swap 2 selected Graphs graph1<=>graph2
|
|
unselect all Graphs |
|
update Position
|
|
update Select List in the bottom panel curve list |