|
Oracle9i Business Components for Java InterMedia API Reference Oracle9i JDeveloper (9.0.4) B10394-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--oracle.ord.controls.OrdMediaControl
A JClient control that renders and stores image, audio, and video content stored in interMedia database types. The supported interMedia database types include: ORDSYS.ORDIMAGE, ORDSYS.ORDAUDIO, ORDSYS.ORDVIDEO, and ORDSYS.ORDDOC.
Field Summary | |
static int |
BUTTON_CHANGE |
static int |
BUTTON_CLEAR |
static int |
BUTTON_LAUNCH |
static int |
BUTTON_SAVE |
Fields inherited from class javax.swing.JComponent |
TOOL_TIP_TEXT_KEY, 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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
OrdMediaControl() Constructs a OrdMediaControl. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
addChangeListener(javax.swing.event.ChangeListener l) Adds a ChangeListener to the ordMediaControl. |
void |
addControllerListener(javax.media.ControllerListener l) Adds a ControllerListener to the ordMediaControl. |
void |
addFocusListener(java.awt.event.FocusAdapter f) |
void |
dataChanged(java.lang.Object dataItem) |
void |
doChange() execute the change button action |
void |
doClear() execute the clear button action |
void |
doLaunch() execute the launch button action |
void |
doPause() Pauses the player |
void |
doSave() execute the save button action |
void |
doStart() Starts the player |
void |
doStop() Stops the player |
void |
focusGained(java.awt.event.FocusEvent event) This method is an implementaion side effect |
void |
focusLost(java.awt.event.FocusEvent event) This method is an implementaion side effect |
boolean |
getAutoPlay() |
javax.swing.JButton |
getButton(int buttonId) |
javax.swing.JComponent |
getControlPanel() gets the replacement control panel |
boolean |
getEnableLaunchButton() |
boolean |
getEnableSaveButton() |
boolean |
getEnableUpdateButtons() |
javax.swing.border.Border |
getMediaBorder() gets the border of the scrollpane containing the media panel |
oracle.jbo.uicli.jui.JUDefaultControlBinding |
getModel() Returns the bindName This method provides the hook into property editors/customizers |
boolean |
getMute() Is the gain muted ? |
javax.media.Player |
getPlayer() |
boolean |
getShowButtons() |
boolean |
getShowControls() Are the controls (play, rewind, forward, etc....) shown? |
int |
getVolume() gets the Volume level (a value between 0 and 100) |
void |
removeChangeListener(javax.swing.event.ChangeListener l) Removes a ChangeListener from the ordMediaControl. |
void |
removeControllerListener(javax.media.ControllerListener l) Removes a ControllerListener from the ordMediaControl. |
void |
setAutoPlay(boolean autoplay) |
void |
setControlPanel(javax.swing.JComponent controlPanel) provide the replacement control panel |
void |
setEnabled(boolean b) An override of java.awt.Component.setEnabled. |
void |
setEnableLaunchButton(boolean bEnableLaunchButton) |
void |
setEnableSaveButton(boolean bEnableSaveButton) |
void |
setEnableUpdateButtons(boolean bEnableUpdateButtons) |
void |
setMediaBorder(javax.swing.border.Border border) sets the border of the scrollpane containing the media panel |
void |
setModel(oracle.jbo.uicli.jui.JUDefaultControlBinding binding) This method binds the control to the infobus and implements lazy loading, by using the DACRTManager, to lookup the RowSet and DataItemName |
void |
setMute(boolean mute) mutes/unmutes the gain |
void |
setShowButtons(boolean bShowButtons) |
void |
setShowControls(boolean bShowControlPanel) Are the controls (play, rewind, forward, etc....) shown? |
void |
setVolume(int vol) sets the Volume level (a value between 0 and 100) |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BUTTON_CHANGE
public static final int BUTTON_CLEAR
public static final int BUTTON_LAUNCH
public static final int BUTTON_SAVE
Constructor Detail |
public OrdMediaControl()
Method Detail |
public void addChangeListener(javax.swing.event.ChangeListener l)
l
- the ChangeListener to addremoveChangeListener(javax.swing.event.ChangeListener)
public void removeChangeListener(javax.swing.event.ChangeListener l)
l
- the ChangeListener to removeaddChangeListener(javax.swing.event.ChangeListener)
public void addControllerListener(javax.media.ControllerListener l)
l
- the ControllerListener to addremoveControllerListener(javax.media.ControllerListener)
public void removeControllerListener(javax.media.ControllerListener l)
l
- the ControllerListener to removeaddControllerListener(javax.media.ControllerListener)
public void addFocusListener(java.awt.event.FocusAdapter f)
addFocusListener
in interface oracle.jbo.uicli.jui.JUDefaultControlInterface
public void focusLost(java.awt.event.FocusEvent event)
focusLost
in interface java.awt.event.FocusListener
public void focusGained(java.awt.event.FocusEvent event)
focusGained
in interface java.awt.event.FocusListener
public void setEnabled(boolean b)
setEnabled
in class javax.swing.JComponent
b
- boolean flag indicating whether the control is enabledpublic void setMediaBorder(javax.swing.border.Border border)
border
- the required borderpublic javax.swing.border.Border getMediaBorder()
public boolean getShowControls()
public void setShowControls(boolean bShowControlPanel)
public void doClear()
public void doChange()
public void doLaunch()
public void doSave()
public void doStart()
public void doPause()
public void doStop()
public void setMute(boolean mute)
mute
- or notpublic boolean getMute()
public void setVolume(int vol)
public int getVolume()
public javax.swing.JComponent getControlPanel()
public void setControlPanel(javax.swing.JComponent controlPanel)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void dataChanged(java.lang.Object dataItem)
dataChanged
in interface oracle.jbo.uicli.jui.JUDefaultControlInterface
public javax.media.Player getPlayer()
public javax.swing.JButton getButton(int buttonId)
public boolean getShowButtons()
public void setShowButtons(boolean bShowButtons)
public void setAutoPlay(boolean autoplay)
public boolean getAutoPlay()
public boolean getEnableUpdateButtons()
public void setEnableUpdateButtons(boolean bEnableUpdateButtons)
public boolean getEnableLaunchButton()
public void setEnableLaunchButton(boolean bEnableLaunchButton)
public boolean getEnableSaveButton()
public void setEnableSaveButton(boolean bEnableSaveButton)
public void setModel(oracle.jbo.uicli.jui.JUDefaultControlBinding binding)
public oracle.jbo.uicli.jui.JUDefaultControlBinding getModel()
|
Oracle9i Business Components for Java InterMedia API Reference Oracle9i JDeveloper (9.0.4) B10394-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |