ICY Version 1.0.1.0
Public Member Functions | Package Functions | Package Attributes

icy.gui.main.MainInterfaceGui Class Reference

Inheritance diagram for icy.gui.main.MainInterfaceGui:
icy.common.IcyChangedListener icy.gui.main.MainInterface

List of all members.

Public Member Functions

 MainInterfaceGui ()
void init ()
ArrayList< JFrame > getExternalFrames ()
Preferences getPreferences ()
InspectorPanel getInspector ()
ArrayList< PlugingetActivePlugins ()
Viewer getFocusedViewer ()
Sequence getFocusedSequence ()
IcyBufferedImage getFocusedImage ()
ArrayList< ViewergetViewers ()
void setFocusedViewer (Viewer viewer)
void addToDesktopPane (JInternalFrame internalFrame)
JDesktopPane getDesktopPane ()
ApplicationMenu getApplicationMenu ()
TaskFrameManager getTaskWindowManager ()
void registerExternalFrame (JFrame frame)
void unRegisterExternalFrame (JFrame frame)
void registerPlugin (Plugin plugin)
void unRegisterPlugin (Plugin plugin)
void registerViewer (Viewer viewer)
void unRegisterViewer (Viewer viewer)
void registerStreamPlugin (PluginStreamGenerator pluginStreamGenerator)
JFrame getFrame ()
void closeViewersOfSequence (Sequence sequence)
void closeAllViewers ()
Viewer getFirstViewer (Sequence sequence)
ArrayList< ViewergetViewers (Sequence sequence)
boolean isUniqueViewer (Viewer viewer)
Viewer getActiveViewer ()
ArrayList< SequencegetSequences ()
Sequence getFirstSequencesContaining (ROI roi)
Sequence getFirstSequencesContaining (Painter painter)
ArrayList< SequencegetSequencesContaining (ROI roi)
ArrayList< SequencegetSequencesContaining (Painter painter)
ArrayList< ROIgetROIs ()
ROI getROI (Painter painter)
ArrayList< PaintergetPainters ()
SwimmingPool getSwimmingPool ()
String getSelectedTool ()
void setSelectedTool (String command)
ToolRibbonTask getToolRibbon ()
boolean isAlwaysOnTop ()
void setAlwaysOnTop (boolean value)
void addListener (MainListener listener)
void removeListener (MainListener listener)
void beginUpdate ()
void endUpdate ()
boolean isUpdating ()
void onChanged (EventHierarchicalChecker object)

Package Functions

void checkRoiAdded (ROI roi)
void checkRoiRemoved (ROI roi)
void checkPainterAdded (Painter painter)
void checkPainterRemoved (Painter painter)

Package Attributes

MainFrame mainFrame
Viewer focusedViewer

Detailed Description

MainInterfaceGui

Author:
Fabrice de Chaumont & Stephane

Constructor & Destructor Documentation

icy.gui.main.MainInterfaceGui.MainInterfaceGui ( )

init() should be called next to the constructor to add internal frames and windows.


Member Function Documentation

void icy.gui.main.MainInterfaceGui.addListener ( MainListener  listener) [virtual]

Add main listener

Parameters:
listener

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.addToDesktopPane ( JInternalFrame  internalFrame) [virtual]

Add the frame to the Desktop pane and change its layer value to make it over the other internal frames.

Parameters:
internalFrame

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.beginUpdate ( ) [virtual]
See also:
icy.common.UpdateEventHandler.beginUpdate()

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.closeAllViewers ( ) [virtual]

Close all viewers

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.closeViewersOfSequence ( Sequence  sequence) [virtual]

Close viewers attached to specified sequence

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.endUpdate ( ) [virtual]
See also:
icy.common.UpdateEventHandler.endUpdate()

Implements icy.gui.main.MainInterface.

Viewer icy.gui.main.MainInterfaceGui.getActiveViewer ( ) [virtual]

Return the active / focused viewer

Implements icy.gui.main.MainInterface.

Viewer icy.gui.main.MainInterfaceGui.getFirstViewer ( Sequence  sequence) [virtual]

Return first viewer attached to specified sequence

Implements icy.gui.main.MainInterface.

IcyBufferedImage icy.gui.main.MainInterfaceGui.getFocusedImage ( ) [virtual]
Returns:
the current focused image

Implements icy.gui.main.MainInterface.

Sequence icy.gui.main.MainInterfaceGui.getFocusedSequence ( ) [virtual]
Returns:
the current focused sequence

Implements icy.gui.main.MainInterface.

Viewer icy.gui.main.MainInterfaceGui.getFocusedViewer ( ) [virtual]
Returns:
the current focused viewer

Implements icy.gui.main.MainInterface.

Preferences icy.gui.main.MainInterfaceGui.getPreferences ( ) [virtual]
Returns:
the preferences

Implements icy.gui.main.MainInterface.

ROI icy.gui.main.MainInterfaceGui.getROI ( Painter  painter) [virtual]

Return the ROI containing the specified painter (if any)

Implements icy.gui.main.MainInterface.

ArrayList<Viewer> icy.gui.main.MainInterfaceGui.getViewers ( Sequence  sequence) [virtual]

Return viewers attached to specified sequence

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.init ( ) [virtual]

Creates the windows in the Icy.getMainInterface().

Implements icy.gui.main.MainInterface.

boolean icy.gui.main.MainInterfaceGui.isUniqueViewer ( Viewer  viewer) [virtual]

Return true if specified viewer is the unique viewer for its attached sequence

Implements icy.gui.main.MainInterface.

boolean icy.gui.main.MainInterfaceGui.isUpdating ( ) [virtual]
See also:
icy.common.UpdateEventHandler.isUpdating()

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.onChanged ( EventHierarchicalChecker  object)

fire changed event

Implements icy.common.IcyChangedListener.

void icy.gui.main.MainInterfaceGui.removeListener ( MainListener  listener) [virtual]

Remove main listener

Parameters:
listener

Implements icy.gui.main.MainInterface.

void icy.gui.main.MainInterfaceGui.setFocusedViewer ( Viewer  viewer) [virtual]
Parameters:
viewerviewer which received focus

Implements icy.gui.main.MainInterface.


The documentation for this class was generated from the following file:
 All Classes Functions Variables