Package gov.nih.mipav.view
Interface HistoLUTParent
- 
- All Known Implementing Classes:
- JPanelHistogram,- JPanelHistoLUT,- JPanelHistoRGB,- ViewJFrameHistoRGB,- ViewJPanelHistoLUT,- ViewJPanelLUT
 
 public interface HistoLUTParentCommon interface for swing containers which hold a HistoLUT component so that the image frames and thresholding text areas can be updated correctly.- Version:
- 1.0
- Author:
- Evan McCreedy
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddragPoint(java.awt.event.MouseEvent mouseEvent)Handle the dragging of a transfer function point.booleanisImageUpdate()Indicates if real-time update of the image should take place.voidsetAllOff()Accessor to disable the all RGB color channels button if one of the lines has moved.voidsetLUT(ModelLUT newLUT)Replaces the LUT and builds a new LUT component.voidsetRangeText(float x, float y, int _index)Set the range value of the text field.voidupdateComponentLUT()Redraw the componentLUT.voidupdateFrames(boolean flag)Update all of the image frames that display the image this histo lut is for.voidupdateLUTPositionString(java.lang.String str)Sets the position string in the LUT text field.voidupdateThresholdFields(float lower, float upper)Method to update the threshold text fields when the lower or upper threshold changes.
 
- 
- 
- 
Method Detail- 
dragPointvoid dragPoint(java.awt.event.MouseEvent mouseEvent) Handle the dragging of a transfer function point.- Parameters:
- mouseEvent- the point dragging event
 
 - 
isImageUpdateboolean isImageUpdate() Indicates if real-time update of the image should take place.- Returns:
- trueif real time update should take place
 
 - 
setAllOffvoid setAllOff() Accessor to disable the all RGB color channels button if one of the lines has moved.
 - 
setLUTvoid setLUT(ModelLUT newLUT) Replaces the LUT and builds a new LUT component.- Parameters:
- newLUT- New LUT
 
 - 
setRangeTextvoid setRangeText(float x, float y, int _index)Set the range value of the text field.- Parameters:
- x- the x threshold range value
- y- the y threshold range value
- _index- the cursor index
 
 - 
updateComponentLUTvoid updateComponentLUT() Redraw the componentLUT.
 - 
updateFramesvoid updateFrames(boolean flag) Update all of the image frames that display the image this histo lut is for.- Parameters:
- flag- this boolean indicates if the frame that displays the image should re-export the image and apply new LUT
- See Also:
- ModelImage.notifyImageDisplayListeners()
 
 - 
updateLUTPositionStringvoid updateLUTPositionString(java.lang.String str) Sets the position string in the LUT text field.- Parameters:
- str- the position string
 
 - 
updateThresholdFieldsvoid updateThresholdFields(float lower, float upper)Method to update the threshold text fields when the lower or upper threshold changes.- Parameters:
- lower- the lower threshold value
- upper- the upper threshold value
 
 
- 
 
-