|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
adams.gui.core.BasePanel
adams.gui.visualization.heatmap.HeatmapPanel
public class HeatmapPanel
Panel for displaying a single heatmap.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected CentroidOverlay |
m_CentroidOverlay
the centroid image overlay. |
protected AbstractColorGradientGenerator |
m_ColorGenerator
the color generator to use. |
protected Heatmap |
m_Heatmap
the heatmap on display. |
protected ImagePanel |
m_HeatmapImage
the panel for displaying the heatmap as image. |
protected SpreadSheetTable |
m_HeatmapTable
the table with the heatmap as spreadsheet. |
protected HeatmapViewerPanel |
m_Owner
the owner. |
protected static Properties |
m_Properties
the setup for the panel. |
protected AbstractHeatmapReader |
m_Reader
the reader that was used for reading in the heatmap. |
protected ReportFactory.Table |
m_ReportTable
the report of the heatmap. |
protected SearchPanel |
m_SearchPanel
the search panel for the heatmap report. |
protected BaseSplitPane |
m_SplitPane
the split pane for image/spreadsheet and report. |
protected BaseTabbedPane |
m_TabbedPane
the tabbed pane for the image and spreadsheet view. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
HeatmapPanel(HeatmapViewerPanel owner)
Initializes the panel. |
|
| Method Summary | |
|---|---|
boolean |
canReload()
Checks whether this panel can be reloaded. |
AbstractColorGradientGenerator |
getColorGenerator()
Returns the generator for the color gradient. |
Heatmap |
getHeatmap()
The current heatmap on display. |
ImagePanel |
getImagePanel()
Returns the underlying image panel |
HeatmapViewerPanel |
getOwner()
Returns the owner of this panel. |
Properties |
getProperties()
Returns the properties for this panel. |
AbstractHeatmapReader |
getReader()
Returns the heatmap reader that was used for loading this heatmap. |
boolean |
getShowCentroid()
Returns whether the centroid overlay is painted as well. |
String |
getTitle()
Returns the database ID or filename as title. |
protected void |
initGUI()
Initializes the widgets. |
protected void |
initialize()
Initializes the members. |
boolean |
isSearchPanelVisible()
Returns whether the search panel is visible. |
boolean |
reload()
Reloads the data, if possible. |
void |
search(String text,
boolean isRegExp)
Performs a search. |
void |
setColorGenerator(AbstractColorGradientGenerator value)
Sets the generator for the color gradient. |
void |
setHeatmap(Heatmap value)
Sets the heatmap to display. |
void |
setReader(AbstractHeatmapReader value)
Sets the heatmap reader that was used for loading this heatmap. |
void |
setSearchPanelVisible(boolean value)
Sets whether to display the search panel or not. |
void |
setShowCentroid(boolean value)
Sets whether the centroid overlay is painted as well. |
void |
showNotes()
Displays the notes of the heatmap. |
void |
showSpreadsheet()
Displays the heatmap as spreadsheet. |
void |
showStatistics()
Displays somes stats on the heatmap. |
| Methods inherited from class adams.gui.core.BasePanel |
|---|
afterHide, afterShow, beforeHide, beforeShow, closeParent, finishInit, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, main, setParentTitle, setVisible |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static Properties m_Properties
protected Heatmap m_Heatmap
protected ImagePanel m_HeatmapImage
protected SpreadSheetTable m_HeatmapTable
protected ReportFactory.Table m_ReportTable
protected SearchPanel m_SearchPanel
protected BaseSplitPane m_SplitPane
protected BaseTabbedPane m_TabbedPane
protected HeatmapViewerPanel m_Owner
protected AbstractHeatmapReader m_Reader
protected CentroidOverlay m_CentroidOverlay
protected AbstractColorGradientGenerator m_ColorGenerator
| Constructor Detail |
|---|
public HeatmapPanel(HeatmapViewerPanel owner)
owner - the owner of this panel| Method Detail |
|---|
protected void initialize()
initialize in class BasePanelprotected void initGUI()
initGUI in class BasePanelpublic HeatmapViewerPanel getOwner()
public void setHeatmap(Heatmap value)
value - the heatmap to displaypublic Heatmap getHeatmap()
public void setReader(AbstractHeatmapReader value)
value - the readerpublic AbstractHeatmapReader getReader()
public void setColorGenerator(AbstractColorGradientGenerator value)
value - the generatorpublic AbstractColorGradientGenerator getColorGenerator()
public String getTitle()
public ImagePanel getImagePanel()
public boolean canReload()
public boolean reload()
public void showSpreadsheet()
public void showStatistics()
public void showNotes()
public void search(String text,
boolean isRegExp)
text - the search textisRegExp - whether the search text is a regular expressionpublic void setSearchPanelVisible(boolean value)
value - if true then the search panel is displayedpublic boolean isSearchPanelVisible()
public void setShowCentroid(boolean value)
value - if true the centroid is paintedpublic boolean getShowCentroid()
public Properties getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||