|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
gui.ClosableJFrame
j2d.gui.Main
public class Main
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.BaselineResizeBehavior |
Field Summary | |
---|---|
ExponentialStretchToolbox |
estStretchControls
|
Fields inherited from class javax.swing.JFrame |
---|
EXIT_ON_CLOSE |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
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, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
void |
addImage(java.awt.Image img,
java.lang.String title)
|
void |
addPanel(ImageProcessorInterface ip)
A general purpose means of adding panels to the main interface using only operations as an argument. |
void |
addPanel(javax.swing.JPanel cp,
java.lang.String title)
|
void |
addPanel(javax.swing.JTabbedPane cp,
java.lang.String title)
|
void |
addPanelMac(javax.swing.JPanel panel,
java.lang.String title)
|
void |
addScrollPanel(javax.swing.JPanel jp,
java.lang.String title)
|
void |
apply()
|
static void |
captureVideo(Main main)
|
void |
closePlayer()
|
void |
displayDataWindow()
|
java.awt.Image |
getBaseImage()
|
MDIDesktopPane |
getDeskTop()
|
java.awt.Image |
getImage()
Get the base image before it is processed. |
java.awt.Image |
getImage(java.io.File f)
|
ImageProcessorInterface |
getOperator()
|
java.awt.Image |
getProcessedImage()
This is the result of an image processing operation |
java.awt.Image |
getSecondImage()
|
InternalImageFrame |
getTopFrame()
|
java.lang.String |
getTopFrameTitle()
|
boolean |
hasTopMostFrame()
|
void |
launchConvolutionControls()
|
void |
launchStretchControls()
Helper function to showAndRegister ExponentialStretchToolbox |
static void |
main(java.lang.String[] args)
Entry point of the ImageTool application. |
void |
openImage()
This is called when the user requests a new file to be opened. |
void |
openPpmJarImage()
|
void |
printHexImage()
|
void |
process(FloatImageProcessorInterface fip)
|
void |
process(HppFilterInterface hppfilter)
|
void |
process(ImageProcessorInterface ip)
|
void |
removeTopMostFrame()
|
void |
revertImage()
Set the image in the active frame to the base image. |
void |
setBaseImage(java.awt.Image image)
|
void |
setFloatImage(FloatImageBean img)
|
void |
setImage(java.awt.Image img)
|
void |
setNewImage(java.awt.image.BufferedImage bi)
|
void |
shutdown()
Helper function for closing the ImageTool. |
void |
update(ImageProcessorInterface ip)
|
void |
usbSnap()
|
void |
webCaptureVideo()
|
void |
webCaptureVideo(java.lang.String cameraUrl)
|
void |
webCaptureVideo10()
|
void |
webCaptureVideo2()
|
Methods inherited from class gui.ClosableJFrame |
---|
add, add, add, add, addComponent, addComponent, addComponent, addMouseController, centerFrame, setContainerLayout, setJMenuBar, setMenuBar, show, show |
Methods inherited from class javax.swing.JFrame |
---|
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setLayeredPane, setLayout, setTransferHandler, update |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront |
Methods inherited from class java.awt.Container |
---|
add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
public ExponentialStretchToolbox estStretchControls
Constructor Detail |
---|
public Main()
Method Detail |
---|
public void closePlayer()
public void addImage(java.awt.Image img, java.lang.String title)
public ImageProcessorInterface getOperator()
public void addScrollPanel(javax.swing.JPanel jp, java.lang.String title)
public void addPanel(ImageProcessorInterface ip)
ip
- the image processing operationpublic void addPanel(javax.swing.JTabbedPane cp, java.lang.String title)
public void addPanel(javax.swing.JPanel cp, java.lang.String title)
public void addPanelMac(javax.swing.JPanel panel, java.lang.String title)
public void process(FloatImageProcessorInterface fip)
public void process(ImageProcessorInterface ip)
public void process(HppFilterInterface hppfilter)
public java.awt.Image getImage()
getImage
in interface ImageBeanInterface
getImage
in interface ImageProcessListener
public java.awt.Image getProcessedImage()
getProcessedImage
in interface ImageProcessListener
public void update(ImageProcessorInterface ip)
update
in interface ImageProcessListener
public void setImage(java.awt.Image img)
setImage
in interface ImageBeanInterface
setImage
in interface ImageProcessListener
public void setFloatImage(FloatImageBean img)
public java.awt.Image getBaseImage()
public java.lang.String getTopFrameTitle()
public void printHexImage()
public InternalImageFrame getTopFrame()
public void shutdown()
public void webCaptureVideo()
public void webCaptureVideo(java.lang.String cameraUrl)
public void webCaptureVideo2()
public void webCaptureVideo10()
public boolean hasTopMostFrame()
public void removeTopMostFrame()
public static void captureVideo(Main main)
public void usbSnap()
public void setNewImage(java.awt.image.BufferedImage bi)
public void openImage()
public void openPpmJarImage() throws java.io.IOException
java.io.IOException
public java.awt.Image getImage(java.io.File f)
public void revertImage()
public void launchStretchControls()
public void launchConvolutionControls()
public static void main(java.lang.String[] args)
public void setBaseImage(java.awt.Image image)
public void apply()
public MDIDesktopPane getDeskTop()
public java.awt.Image getSecondImage()
public void displayDataWindow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |