Package javaforce.webui
Class Media
java.lang.Object
javaforce.webui.Component
javaforce.webui.Container
javaforce.webui.Media
-
Nested Class Summary
Nested classes/interfaces inherited from class javaforce.webui.Component
Component.Event -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class javaforce.webui.Component
ArrayType, attrs, AUTO, backclr, borderclr, BOTTOM, CENTER, classes, client, clr, DRAG_EW, DRAG_MOVE, DRAG_NESW, DRAG_NS, DRAG_NWSE, events, height, HIDDEN, HORIZONTAL, id, LEFT, name, parent, RIGHT, SCROLL, styles, TOP, VERTICAL, VISIBLE, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhtml()Returns HTML to render component.booleanvoidProcess custom events.voidpause()voidplay()voidseek(double time) voidsetCapture(boolean doVideo, boolean doAudio) voidsetLiveSource(String codecs) voidvoidstop()Methods inherited from class javaforce.webui.Container
add, add, count, events, get, get, getAll, getComponent, init, remove, remove, removeAll, set, setClientMethods inherited from class javaforce.webui.Component
action, addActionListener, addAttr, addChangedListener, addClass, addClickListener, addEvent, addKeyDownListener, addKeyDownListenerPreventDefault, addKeyUpListener, addKeyUpListenerPreventDefault, addLoadedListener, addMouseDownListener, addMouseEnterListener, addMouseMoveListener, addMouseUpListener, addMovedListener, addResizedListener, addValidateListener, addVisibleListener, click, decode, dispatchEvent, enableDragging, encode, getAttrs, getBackColor, getBorderColor, getClient, getColor, getEvents, getHeight, getID, getName, getParent, getProperty, getStyle, getTopParent, getWidth, getX, getY, hasAttr, hasClass, hasStyle, initInvisible, isPopup, isVisible, onChanged, onClick, onDrawRect, onDrawRect, onKeyDown, onKeyUp, onLoaded, onMouseDown, onMouseEnter, onMouseMove, onMouseUp, onPos, onPosSize, onSize, removeAttr, removeClass, removeStyle, requestPos, requestPosSize, requestSize, sendData, sendEvent, sendOnResize, setAlign, setAutoHeight, setAutoWidth, setBackColor, setBorder, setBorderColor, setBorderGray, setClass, setColor, setDisabled, setFlex, setFocus, setFontSize, setHeight, setMaxHeight, setMaxWidth, setName, setPosition, setProperty, setReadonly, setSize, setStyle, setVerticalAlign, setVisible, setWidth, toString, validate
-
Field Details
-
STATE_UNINIT
public static final int STATE_UNINIT- See Also:
-
STATE_STOP
public static final int STATE_STOP- See Also:
-
STATE_PLAY
public static final int STATE_PLAY- See Also:
-
STATE_PAUSE
public static final int STATE_PAUSE- See Also:
-
-
Constructor Details
-
Media
-
-
Method Details
-
html
Description copied from class:ComponentReturns HTML to render component. -
setSource
-
setLiveSource
-
setCapture
public void setCapture(boolean doVideo, boolean doAudio) -
play
public void play() -
pause
public void pause() -
stop
public void stop() -
seek
public void seek(double time) -
onEvent
Description copied from class:ComponentProcess custom events. -
isPlaying
public boolean isPlaying()
-