@Deprecated
public class OrdMediaControl
extends javax.swing.JPanel
implements java.awt.event.ActionListener, java.awt.event.FocusListener, oracle.jbo.uicli.jui.JUDefaultControlInterface
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
static int |
BUTTON_CHANGE
Deprecated.
|
static int |
BUTTON_CLEAR
Deprecated.
|
static int |
BUTTON_LAUNCH
Deprecated.
|
static int |
BUTTON_SAVE
Deprecated.
|
protected java.awt.Insets |
m_buttonMargin
Deprecated.
|
protected javax.swing.JPanel |
m_buttonPanel
Deprecated.
|
protected java.awt.GridBagLayout |
m_buttonPanelLayout
Deprecated.
|
protected java.awt.Dimension |
m_buttonPreferredSize
Deprecated.
|
protected javax.swing.JButton |
m_changeButton
Deprecated.
|
protected javax.swing.JButton |
m_clearButton
Deprecated.
|
protected java.io.File |
m_CurrentDirectory
Deprecated.
|
protected java.awt.Dimension |
m_defaultMinimumSize
Deprecated.
|
protected java.awt.Dimension |
m_defaultPreferredSize
Deprecated.
|
protected javax.swing.JFileChooser |
m_fileChooser
Deprecated.
|
protected javax.swing.JLabel |
m_imageCanvas
Deprecated.
|
protected javax.swing.JButton |
m_launchButton
Deprecated.
|
protected java.awt.BorderLayout |
m_mainPanelLayout
Deprecated.
|
protected javax.swing.JScrollPane |
m_mediaAggregate
Deprecated.
|
protected javax.swing.JPanel |
m_mediaDisplay
Deprecated.
|
protected javax.swing.JButton |
m_saveButton
Deprecated.
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
OrdMediaControl()
Deprecated.
Constructs a OrdMediaControl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Deprecated.
|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Deprecated.
Adds a ChangeListener to the ordMediaControl.
|
void |
addControllerListener(javax.media.ControllerListener l)
Deprecated.
Adds a ControllerListener to the ordMediaControl.
|
void |
addFocusListener(java.awt.event.FocusAdapter f)
Deprecated.
|
void |
dataChanged(java.lang.Object dataItem)
Deprecated.
|
void |
doChange()
Deprecated.
execute the change button action
|
void |
doClear()
Deprecated.
execute the clear button action
|
void |
doLaunch()
Deprecated.
execute the launch button action
|
void |
doPause()
Deprecated.
Pauses the player
|
void |
doSave()
Deprecated.
execute the save button action
|
void |
doStart()
Deprecated.
Starts the player
|
void |
doStop()
Deprecated.
Stops the player
|
protected void |
fireStateChanged()
Deprecated.
Send a ChangeEvent, whose source is this Slider, to
each listener.
|
void |
focusGained(java.awt.event.FocusEvent event)
Deprecated.
This method is an implementation side effect
|
void |
focusLost(java.awt.event.FocusEvent event)
Deprecated.
This method is an implementation side effect
|
boolean |
getAutoPlay()
Deprecated.
|
javax.swing.JButton |
getButton(int buttonId)
Deprecated.
|
javax.swing.JComponent |
getControlPanel()
Deprecated.
gets the replacement control panel
|
boolean |
getEnableLaunchButton()
Deprecated.
|
boolean |
getEnableSaveButton()
Deprecated.
|
boolean |
getEnableUpdateButtons()
Deprecated.
|
javax.swing.border.Border |
getMediaBorder()
Deprecated.
gets the border of the scrollpane containing the media panel
|
oracle.jbo.uicli.jui.JUDefaultControlBinding |
getModel()
Deprecated.
Returns the bindName
This method provides the hook into property editors/customizers
|
boolean |
getMute()
Deprecated.
Is the gain muted ?
|
javax.media.Player |
getPlayer()
Deprecated.
|
boolean |
getShowButtons()
Deprecated.
|
boolean |
getShowControls()
Deprecated.
Are the controls (play, rewind, forward, etc....) shown?
|
int |
getVolume()
Deprecated.
gets the Volume level (a value between 0 and 100)
|
protected javax.swing.JPanel |
m_createButtonPanel()
Deprecated.
|
protected void |
m_enableButtons(boolean bEnable)
Deprecated.
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
Deprecated.
Removes a ChangeListener from the ordMediaControl.
|
void |
removeControllerListener(javax.media.ControllerListener l)
Deprecated.
Removes a ControllerListener from the ordMediaControl.
|
void |
setAutoPlay(boolean autoplay)
Deprecated.
|
void |
setControlPanel(javax.swing.JComponent controlPanel)
Deprecated.
provide the replacement control panel
|
void |
setEnabled(boolean b)
Deprecated.
An override of java.awt.Component.setEnabled.
|
void |
setEnableLaunchButton(boolean bEnableLaunchButton)
Deprecated.
|
void |
setEnableSaveButton(boolean bEnableSaveButton)
Deprecated.
|
void |
setEnableUpdateButtons(boolean bEnableUpdateButtons)
Deprecated.
|
void |
setMediaBorder(javax.swing.border.Border border)
Deprecated.
sets the border of the scrollpane containing the media panel
|
void |
setModel(oracle.jbo.uicli.jui.JUDefaultControlBinding binding)
Deprecated.
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)
Deprecated.
mutes/unmutes the gain
|
void |
setShowButtons(boolean bShowButtons)
Deprecated.
|
void |
setShowControls(boolean bShowControlPanel)
Deprecated.
Are the controls (play, rewind, forward, etc....) shown?
|
void |
setVolume(int vol)
Deprecated.
sets the Volume level (a value between 0 and 100)
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, 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, hide, 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, 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, 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, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final int BUTTON_CHANGE
public static final int BUTTON_CLEAR
public static final int BUTTON_LAUNCH
public static final int BUTTON_SAVE
protected java.awt.BorderLayout m_mainPanelLayout
protected java.awt.GridBagLayout m_buttonPanelLayout
protected javax.swing.JScrollPane m_mediaAggregate
protected javax.swing.JLabel m_imageCanvas
protected javax.swing.JPanel m_mediaDisplay
protected javax.swing.JPanel m_buttonPanel
protected java.awt.Dimension m_buttonPreferredSize
protected java.awt.Dimension m_defaultPreferredSize
protected java.awt.Dimension m_defaultMinimumSize
protected java.awt.Insets m_buttonMargin
protected javax.swing.JButton m_changeButton
protected javax.swing.JButton m_clearButton
protected javax.swing.JButton m_launchButton
protected javax.swing.JButton m_saveButton
protected javax.swing.JFileChooser m_fileChooser
protected java.io.File m_CurrentDirectory
public OrdMediaControl()
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.JUDefaultControlInterfacef - the FocusListener to addpublic void focusLost(java.awt.event.FocusEvent event)
focusLost in interface java.awt.event.FocusListenerevent - FocusEvent on focusLostpublic void focusGained(java.awt.event.FocusEvent event)
focusGained in interface java.awt.event.FocusListenerevent - FocusEvent on focusGainedpublic void setEnabled(boolean b)
setEnabled in class javax.swing.JComponentb - 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)
bShowControlPanel - controls shownpublic 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)
vol - new Volume levelpublic int getVolume()
public javax.swing.JComponent getControlPanel()
public void setControlPanel(javax.swing.JComponent controlPanel)
controlPanel - the new control panelpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - public void dataChanged(java.lang.Object dataItem)
dataChanged in interface oracle.jbo.uicli.jui.JUDefaultControlInterfacedataItem - protected void fireStateChanged()
addChangeListener(javax.swing.event.ChangeListener),
EventListenerListprotected javax.swing.JPanel m_createButtonPanel()
protected void m_enableButtons(boolean bEnable)
bEnable - public javax.media.Player getPlayer()
public javax.swing.JButton getButton(int buttonId)
buttonId - public boolean getShowButtons()
public void setShowButtons(boolean bShowButtons)
bShowButtons - public void setAutoPlay(boolean autoplay)
autoplay - public boolean getAutoPlay()
public boolean getEnableUpdateButtons()
public void setEnableUpdateButtons(boolean bEnableUpdateButtons)
bEnableUpdateButtons - public boolean getEnableLaunchButton()
public void setEnableLaunchButton(boolean bEnableLaunchButton)
bEnableLaunchButton - public boolean getEnableSaveButton()
public void setEnableSaveButton(boolean bEnableSaveButton)
bEnableSaveButton - public void setModel(oracle.jbo.uicli.jui.JUDefaultControlBinding binding)
binding - format being used <Data Definition name>.<ViewObject name>.<Attribute name>public oracle.jbo.uicli.jui.JUDefaultControlBinding getModel()