|
|||||||||
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
jsky.image.gui.ImageColors
public class ImageColors
Dialog to select image colormaps and color scaling algorithms.
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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected boolean |
ignoreEvents
True if GUI events should be ignored |
protected BasicImageReadableProcessor |
imageDisplay
main image display window |
protected ImageProcessor |
imageProcessor
Object managing image processing operations (including setting the colormap) |
protected JRadioButton |
linearScale
Linear Scale button |
protected Component |
parent
|
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 | |
---|---|
ImageColors(Component parent,
BasicImageReadableProcessor imageDisplay)
Constructor |
Method Summary | |
---|---|
protected void |
close()
Close the window |
protected JPanel |
makeButtonPanel()
Make the dialog button panel |
protected JPanel |
makeColormapListPanel()
Make and return the list box with the list of colormaps |
protected JPanel |
makeColorScalePanel()
Make and return the color scale panel |
protected JPanel |
makeIntensityListPanel()
Make and return the list box with the list of intensity tables |
protected JPanel |
makeMainPanel()
Make and return the main panel |
protected void |
reset()
Reset the colormap to the default. |
protected void |
setColormap(String name)
Called when a colormap is selected from the list |
protected void |
setIntensityLookupTable(String name)
Called when an intensity lookup table is selected from the list |
protected void |
setScaleAlgorithm(String name)
Called when a radio button is selected with the name of the image color scaling algorithm. |
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 Component parent
protected BasicImageReadableProcessor imageDisplay
protected ImageProcessor imageProcessor
protected JRadioButton linearScale
protected boolean ignoreEvents
Constructor Detail |
---|
public ImageColors(Component parent, BasicImageReadableProcessor imageDisplay)
parent
- The top level parent frame (or internal frame) used to close the windowimageDisplay
- The image display windowMethod Detail |
---|
protected JPanel makeMainPanel()
protected JPanel makeColorScalePanel()
protected void setScaleAlgorithm(String name)
protected JPanel makeColormapListPanel()
protected void setColormap(String name)
protected JPanel makeIntensityListPanel()
protected void setIntensityLookupTable(String name)
protected JPanel makeButtonPanel()
protected void reset()
protected void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |