public class ANIMVideoView extends AbstractVideoView
AbstractVideoView.VideoPaneljavax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.JCheckBoxMenuItem |
blendColorCyclesItem
Menu items.
|
protected javax.swing.JCheckBoxMenuItem |
colorCyclingItem
Menu items.
|
protected javax.swing.JCheckBoxMenuItem |
debugItem |
protected javax.swing.JRadioButtonMenuItem[] |
fpsItems |
protected javax.swing.JRadioButtonMenuItem |
fpsOriginalItem |
protected javax.swing.JCheckBoxMenuItem |
pingPongItem
Menu items.
|
protected javax.swing.JCheckBoxMenuItem |
playWrapupFramesItem |
protected javax.swing.JCheckBoxMenuItem |
swapSpeakersItem |
anamorphPixelAspectItem, audioEnabledItem, autoPlayItem, backgroundBlackItem, backgroundCheckerboardItem, backgroundWhiteItem, bicubicItem, bilinearItem, checkerboardTexture, DOUBLE_SIZE, exactImageAspectItem, exactPixelAspectItem, HALF_SIZE, ignoreImageAspectItem, ignorePixelAspectItem, loopItem, multipliedPixelAspectItem, nearestNeighborItem, NORMAL_SIZE, playEveryFrameItem, RENDER_BICUBIC, RENDER_BILINEAR, RENDER_NEAREST_NEIGHBOR, SCREEN_SIZE, scrollPane, showScrollbarsItem, videoPanelaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTREQUEST_INFO_UPDATE_PROPERTY| Constructor and Description |
|---|
ANIMVideoView()
Initializes the Form
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNotify() |
void |
dispose()
This method should be abstract but the form editor in NetBeans 3.4
does not suport abstract classes.
|
java.lang.String |
getViewName() |
void |
init()
This method is called after the view has been added to
the parent component.
|
void |
itemStateChanged(java.awt.event.ItemEvent event) |
void |
mergeViewMenuItems(javax.swing.JMenu m)
Adds menu items to the "View" menu.
|
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
setCommandContext(java.lang.String verb,
javax.activation.DataHandler dh)
This method should be abstract but the form editor in NetBeans 3.4
does not suport abstract classes.
|
void |
startPlayer()
This method should be abstract but the form editor in NetBeans 3.4
does not suport abstract classes.
|
void |
stopPlayer()
This method should be abstract but the form editor in NetBeans 3.4
does not suport abstract classes.
|
java.lang.String |
toString() |
protected void |
updateAudioEnabled() |
protected void |
updateColorCycling() |
protected void |
updateDebug() |
protected void |
updateFPS() |
protected void |
updateInterpolation() |
protected void |
updateLoop() |
protected void |
updatePixelAspect() |
protected void |
updatePlayEveryFrame() |
protected void |
updatePlayPingPong() |
protected void |
updatePlayWrapupFrames() |
protected void |
updateSwapSpeakers() |
protected void |
updateViewProperties() |
actionPerformed, addDropTargetListener, getControllerComponent, getVideoComponent, hasScrollPane, isAutoPlay, packParent, setControllerComponent, setVideoComponent, setViewSize, updateApplicationProperties, updateAutoPlay, updateImageAspect, updateInitialScaleFactor, updateScaleFactor, updateShowScrollbarsgetApplicationProperties, getViewProperties, mergeSettingsMenuItems, setApplicationProperties, setViewPropertiesgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycleprotected javax.swing.JCheckBoxMenuItem pingPongItem
protected javax.swing.JCheckBoxMenuItem playWrapupFramesItem
protected javax.swing.JCheckBoxMenuItem swapSpeakersItem
protected javax.swing.JCheckBoxMenuItem debugItem
protected javax.swing.JRadioButtonMenuItem fpsOriginalItem
protected javax.swing.JRadioButtonMenuItem[] fpsItems
protected javax.swing.JCheckBoxMenuItem colorCyclingItem
protected javax.swing.JCheckBoxMenuItem blendColorCyclesItem
public void init()
AbstractViewinit in interface Viewinit in class AbstractVideoViewpublic void mergeViewMenuItems(javax.swing.JMenu m)
AbstractViewmergeViewMenuItems in interface ViewmergeViewMenuItems in class AbstractVideoViewpublic void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged in interface java.awt.event.ItemListeneritemStateChanged in class AbstractVideoViewpublic void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange in interface java.beans.PropertyChangeListenerpropertyChange in class AbstractVideoViewprotected void updateViewProperties()
updateViewProperties in class AbstractVideoViewprotected void updateInterpolation()
updateInterpolation in class AbstractVideoViewprotected void updatePlayEveryFrame()
updatePlayEveryFrame in class AbstractVideoViewprotected void updatePlayWrapupFrames()
protected void updateDebug()
protected void updatePlayPingPong()
protected void updateColorCycling()
protected void updateLoop()
updateLoop in class AbstractVideoViewprotected void updateAudioEnabled()
updateAudioEnabled in class AbstractVideoViewprotected void updateSwapSpeakers()
protected void updateFPS()
public void setCommandContext(java.lang.String verb,
javax.activation.DataHandler dh)
throws java.io.IOException
AbstractViewsetCommandContext in interface javax.activation.CommandObjectsetCommandContext in class AbstractViewjava.io.IOExceptionpublic void addNotify()
addNotify in class javax.swing.JComponentprotected void updatePixelAspect()
updatePixelAspect in class AbstractVideoViewpublic void startPlayer()
AbstractVideoViewstartPlayer in class AbstractVideoViewpublic void stopPlayer()
AbstractVideoViewstopPlayer in class AbstractVideoViewpublic void dispose()
AbstractViewdispose in interface Viewdispose in interface org.jhotdraw.app.Disposabledispose in class AbstractViewpublic java.lang.String getViewName()
public java.lang.String toString()
toString in class java.awt.Component