Class Cortado
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
com.fluendo.player.Cortado
- All Implemented Interfaces:
BusHandler, StatusListener, ActionListener, ComponentListener, MouseListener, MouseMotionListener, ImageObserver, MenuContainer, Serializable, Runnable, EventListener, Accessible
public class Cortado
extends Applet
implements Runnable, MouseMotionListener, MouseListener, ComponentListener, BusHandler, StatusListener, ActionListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Component
Component.BaselineResizeBehavior -
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoublebooleanstatic final intstatic final intstatic final intFields inherited from class Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoiddoPause()voiddoPlay()voiddoSeek(double aPos) voiddoStop()booleangetBoolParam(String name, boolean def) getCategoryName(String code) doublegetDoubleParam(String name, double def) intgetEnumParam(String name, String[] vals, String def) intgetIntParam(String name, int def) String[][]doubleintgetSize()intgetStringParam(String name, String def) voidhandleMessage(Message msg) voidinit()voidvoidvoidvoidvoidvoidvoidvoidonAudio()voidonSeek(double aPos) voidonState(int aState) voidonSubtitles(int x, int y) voidvoidpause()voidplay()voidpopulateMenu(Menu subtitlesMenu) voidrestart()voidrun()voidvoidvoidstart()voidstop()voidMethods inherited from class Applet
destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatusMethods inherited from class Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, validateMethods inherited from class 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, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
status
-
STATUS_AUTO
public static final int STATUS_AUTO- See Also:
-
STATUS_SHOW
public static final int STATUS_SHOW- See Also:
-
STATUS_HIDE
public static final int STATUS_HIDE- See Also:
-
currentTime
public double currentTime -
duration
public double duration -
paused
public boolean paused -
src
-
-
Constructor Details
-
Cortado
public Cortado()
-
-
Method Details
-
getAppletInfo
- Overrides:
getAppletInfoin classApplet
-
getRevision
-
getParameterInfo
- Overrides:
getParameterInfoin classApplet
-
setParam
-
restart
public void restart() -
getParam
-
getEnumParam
-
getStringParam
-
getBoolParam
-
getDoubleParam
-
getIntParam
-
shutDown
-
init
-
createMenu
public void createMenu() -
getCategoryName
-
getLocale
-
populateMenu
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
getGraphics
- Overrides:
getGraphicsin classComponent
-
componentHidden
- Specified by:
componentHiddenin interfaceComponentListener
-
componentMoved
- Specified by:
componentMovedin interfaceComponentListener
-
componentResized
- Specified by:
componentResizedin interfaceComponentListener
-
componentShown
- Specified by:
componentShownin interfaceComponentListener
-
getSize
-
update
-
run
-
paint
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
handleMessage
- Specified by:
handleMessagein interfaceBusHandler
-
doPause
public void doPause() -
doPlay
public void doPlay() -
doStop
public void doStop() -
doSeek
public void doSeek(double aPos) -
getPlayPosition
public double getPlayPosition() -
onState
public void onState(int aState) - Specified by:
onStatein interfaceStatusListener
-
onSeek
public void onSeek(double aPos) - Specified by:
onSeekin interfaceStatusListener
-
onAudio
public void onAudio()- Specified by:
onAudioin interfaceStatusListener
-
onSubtitles
public void onSubtitles(int x, int y) - Specified by:
onSubtitlesin interfaceStatusListener
-
start
-
stop
-
getStatusHeight
public int getStatusHeight() -
getShowStatus
public int getShowStatus() -
play
public void play() -
pause
public void pause()
-