|
||||||||||
| 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.HeatmapViewerPanel
public class HeatmapViewerPanel
Panel for viewing/processing heatmaps.
| 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 AbstractFilter<Heatmap> |
m_CurrentFilter
the current filter. |
protected FilterDialog |
m_DialogFilter
the filter dialog. |
protected HeatmapFileChooser |
m_FileChooser
for loading heatmaps from disk. |
protected boolean |
m_FilterAll
indicates whether filter is applied to all heatmaps. |
protected boolean |
m_FilterOverlayOriginalData
indicates whether the filtered data was overlayed over the original. |
protected JMenuBar |
m_MenuBar
the menu bar. |
protected JMenuItem |
m_MenuItemFileCloseAll
the "close all" menu item. |
protected JMenuItem |
m_MenuItemFileCloseCurrent
the "close current" menu item. |
protected JMenuItem |
m_MenuItemFileReloadAll
the "reload all" menu item. |
protected JMenuItem |
m_MenuItemFileReloadCurrent
the "reload current" menu item. |
protected JMenuItem |
m_MenuItemFileSaveAs
the "save as" menu item. |
protected JMenuItem |
m_MenuItemProcessApplyImageJ
the ImageJ menu item. |
protected JMenuItem |
m_MenuItemProcessApplyImageMagick
the ImageMagick menu item. |
protected JMenuItem |
m_MenuItemProcessApplyJAI
the JAI menu item. |
protected JMenuItem |
m_MenuItemProcessFilterAllHeatmaps
the filter all menu item. |
protected JMenuItem |
m_MenuItemProcessFilterHeatmap
the filter menu item. |
protected JMenuItem |
m_MenuItemViewShowCentroid
the show centroid menu item. |
protected JMenuItem |
m_MenuItemViewShowNotes
the show notes menu item. |
protected JMenuItem |
m_MenuItemViewShowSpreadsheet
the show spreadhseet menu item. |
protected JMenuItem |
m_MenuItemViewShowStatistics
the show statistics menu item. |
protected static Properties |
m_Properties
the setup for the panel. |
protected SearchPanel |
m_SearchPanel
the search panel for the heatmap report. |
protected BaseStatusBar |
m_StatusBar
the status bar. |
protected BaseTabbedPane |
m_TabbedPane
the tabbed pane for the heatmaps. |
static String |
SESSION_FILE
the file to store the recent files in. |
| 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 | |
|---|---|
HeatmapViewerPanel()
|
|
| Method Summary | |
|---|---|
protected void |
applyImageFilter(HeatmapPanel panel,
AbstractImageFilter filter)
Applies the image filter to the heatmap image. |
protected void |
applyImageJ(HeatmapPanel panel)
Applies ImageJ to the heatmap images. |
protected void |
applyImageMagick(HeatmapPanel panel)
Applies ImageMagick to the heatmap images. |
protected void |
applyJAI(HeatmapPanel panel)
Applies JAI to the heatmap images. |
void |
close()
closes the dialog/frame. |
void |
closeAll()
Removes all the data. |
void |
closeCurrent()
Removes the current tab. |
protected void |
filter()
pops up GOE dialog for filter. |
void |
filter(FilterEvent<Heatmap> e)
Filters the data. |
HeatmapPanel |
getCurrentPanel()
Returns the currently selected heatmap panel. |
JMenuBar |
getMenuBar()
Creates a menu bar (singleton per panel object). |
HeatmapPanel |
getPanelAt(int index)
Returns the specified heatmap panel. |
Properties |
getProperties()
Returns the properties for this panel. |
Class[] |
getSendToClasses()
Returns the classes that the supporter generates. |
Object |
getSendToItem(Class[] cls)
Returns the object to send. |
boolean |
hasSendToItem(Class[] cls)
Checks whether something to send is available. |
protected void |
initGUI()
Initializes the widgets. |
protected void |
initialize()
Initializes the members. |
void |
load()
Loads heatmaps from disk, popping up a file chooser dialog. |
void |
load(File file)
Loads the specified file from disk. |
void |
load(File[] files,
AbstractHeatmapReader reader)
Loads heatmaps from disk, popping up a file chooser dialog. |
protected HeatmapPanel |
newPanel(Heatmap map)
Creates a new panel and configures it. |
protected void |
reloadAll()
Reloads all heatmaps. |
protected void |
reloadCurrent()
Reloads the current panel's heatmap. |
protected void |
saveAs()
Saves the current heatmap to disk. |
void |
search(String text,
boolean isRegExp)
Performs a search. |
void |
showStatus(String msg)
Displays a message. |
protected void |
updateMenu()
updates the enabled state of the menu items. |
| 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 |
|---|
public static final String SESSION_FILE
protected static Properties m_Properties
protected BaseTabbedPane m_TabbedPane
protected BaseStatusBar m_StatusBar
protected JMenuBar m_MenuBar
protected JMenuItem m_MenuItemFileReloadCurrent
protected JMenuItem m_MenuItemFileReloadAll
protected JMenuItem m_MenuItemFileSaveAs
protected JMenuItem m_MenuItemFileCloseCurrent
protected JMenuItem m_MenuItemFileCloseAll
protected JMenuItem m_MenuItemProcessFilterHeatmap
protected JMenuItem m_MenuItemProcessFilterAllHeatmaps
protected JMenuItem m_MenuItemProcessApplyImageJ
protected JMenuItem m_MenuItemProcessApplyJAI
protected JMenuItem m_MenuItemProcessApplyImageMagick
protected JMenuItem m_MenuItemViewShowCentroid
protected JMenuItem m_MenuItemViewShowSpreadsheet
protected JMenuItem m_MenuItemViewShowStatistics
protected JMenuItem m_MenuItemViewShowNotes
protected HeatmapFileChooser m_FileChooser
protected AbstractFilter<Heatmap> m_CurrentFilter
protected FilterDialog m_DialogFilter
protected boolean m_FilterOverlayOriginalData
protected boolean m_FilterAll
protected SearchPanel m_SearchPanel
| Constructor Detail |
|---|
public HeatmapViewerPanel()
| Method Detail |
|---|
protected void initialize()
initialize in class BasePanelprotected void initGUI()
initGUI in class BasePanelpublic JMenuBar getMenuBar()
getMenuBar in interface MenuBarProviderpublic HeatmapPanel getPanelAt(int index)
index - the index of the panel
public HeatmapPanel getCurrentPanel()
protected void updateMenu()
protected void reloadCurrent()
protected void reloadAll()
public void closeCurrent()
public void closeAll()
protected HeatmapPanel newPanel(Heatmap map)
map - the map to create the panel for
public void load(File[] files,
AbstractHeatmapReader reader)
public void load(File file)
public void load()
protected void saveAs()
public void close()
protected void filter()
public void filter(FilterEvent<Heatmap> e)
filter in interface FilterListener<Heatmap>e - the event
protected void applyImageFilter(HeatmapPanel panel,
AbstractImageFilter filter)
panel - the panel's image to processfilter - the image filter to applyprotected void applyImageJ(HeatmapPanel panel)
panel - the heatmap image to processprotected void applyJAI(HeatmapPanel panel)
panel - the heatmap image to processprotected void applyImageMagick(HeatmapPanel panel)
panel - the heatmap image to process
public void search(String text,
boolean isRegExp)
text - the search textisRegExp - whether the search text is a regular expressionpublic void showStatus(String msg)
showStatus in interface StatusMessageHandlermsg - the message to displaypublic Class[] getSendToClasses()
getSendToClasses in interface SendToActionSupporterpublic boolean hasSendToItem(Class[] cls)
hasSendToItem in interface SendToActionSupportercls - the classes to retrieve an item for
public Object getSendToItem(Class[] cls)
getSendToItem in interface SendToActionSupportercls - the classes to retrieve the item for
public Properties getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||