|
|||||||||
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.JInternalFrame
jsky.image.gui.ImageDisplayControlInternalFrame
public class ImageDisplayControlInternalFrame
Provides a top level window (internal frame version) for an ImageDisplayControl panel.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JInternalFrame |
---|
JInternalFrame.AccessibleJInternalFrame, JInternalFrame.JDesktopIcon |
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 ImageDisplayControl |
imageDisplayControl
Panel containing image display and controls |
protected ImageDisplayToolBar |
toolBar
The frame's toolbar |
Fields inherited from class javax.swing.JInternalFrame |
---|
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
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 javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ImageDisplayControlInternalFrame(JDesktopPane desktop)
Create a top level window containing an ImageDisplayControl panel with the default settings. |
|
ImageDisplayControlInternalFrame(JDesktopPane desktop,
int size)
Create a top level window containing an ImageDisplayControl panel. |
|
ImageDisplayControlInternalFrame(JDesktopPane desktop,
int size,
String filename)
Create a top level window containing an ImageDisplayControl panel. |
|
ImageDisplayControlInternalFrame(JDesktopPane desktop,
String filename)
Create a top level window containing an ImageDisplayControl panel with the default settings. |
Method Summary | |
---|---|
ImageDisplayControl |
getImageDisplayControl()
Return the ImageDisplayControl object (the main widget) |
protected ImageDisplayControl |
makeImageDisplayControl(int size)
Make and return the image display control frame. |
protected ImageDisplayMenuBar |
makeMenuBar(DivaMainImageDisplay mainImageDisplay,
ImageDisplayToolBar toolBar)
Make and return the menubar |
protected ImageDisplayToolBar |
makeToolBar(DivaMainImageDisplay mainImageDisplay)
Make and return the toolbar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ImageDisplayToolBar toolBar
protected ImageDisplayControl imageDisplayControl
Constructor Detail |
---|
public ImageDisplayControlInternalFrame(JDesktopPane desktop, int size)
desktop
- The JDesktopPane to add the frame to.size
- the size (width, height) to use for the pan and zoom windows.public ImageDisplayControlInternalFrame(JDesktopPane desktop)
desktop
- The JDesktopPane to add the frame to.public ImageDisplayControlInternalFrame(JDesktopPane desktop, int size, String filename)
desktop
- The JDesktopPane to add the frame to.size
- the size (width, height) to use for the pan and zoom windows.filename
- An image file to display.public ImageDisplayControlInternalFrame(JDesktopPane desktop, String filename)
desktop
- The JDesktopPane to add the frame to.filename
- An image file to display.Method Detail |
---|
public ImageDisplayControl getImageDisplayControl()
protected ImageDisplayToolBar makeToolBar(DivaMainImageDisplay mainImageDisplay)
protected ImageDisplayMenuBar makeMenuBar(DivaMainImageDisplay mainImageDisplay, ImageDisplayToolBar toolBar)
protected ImageDisplayControl makeImageDisplayControl(int size)
size
- the size (width, height) to use for the pan and zoom windows.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |