|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.essex.ia.imageview.pane.ImageViewerState
public class ImageViewerState
The event processing center for this application. This class responses for loading data sets, processing the events from the utility menu that includes changing the operation scope, the layout, window/level, rotation angle, zoom factor, starting/stoping the cining-loop and etc. TODO:
Field Summary |
---|
Fields inherited from interface uk.ac.essex.ia.imageview.ImageViewerConstants |
---|
allViewsCommand, annotationCommand, currentViewCommand, defaultLevel, defaultWindow, histogramCommand, largestLevel, largestWindow, levelCommand, measurementCommand, nozoom, paramSync, RESOURCE_BASE_NAME, rotationCommand, setLayoutCommand, smallestLevel, smallestWindow, speedCommand, startCommand, statisticsCommand, stopCommand, windowCommand, zoomCommand |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
process the action events. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Add a property change listener. |
java.awt.image.RenderedImage |
getImageForFocusPane()
Create the wrapped image for the focused pane. |
static ImageViewerState |
getInstance()
Return the single instance of this class. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Process the property change event. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
Remove a property change listener. |
void |
stateChanged(javax.swing.event.ChangeEvent evt)
Process the state change events. |
void |
updateSliders()
Update the slider marks. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ImageViewerState getInstance()
public void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
public void updateSliders()
public java.awt.image.RenderedImage getImageForFocusPane()
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged
in interface javax.swing.event.ChangeListener
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |