org.jdesktop.swingx
Class JXApplet
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Panel
-
- java.applet.Applet
-
- javax.swing.JApplet
-
- org.jdesktop.swingx.JXApplet
-
- All Implemented Interfaces:
- java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer
public class JXApplet extends javax.swing.JAppletAn applet that usesJXRootPaneas its root container.- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor and Description JXApplet()Creates a the applet instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description javax.swing.JButtongetCancelButton()Returns the value of the cancel button property from the underlyingJXRootPane.javax.swing.JButtongetDefaultButton()Returns the value of the default button property from the underlyingJRootPane.JXRootPanegetRootPane()JXStatusBargetStatusBar()Returns the value of the status bar property from the underlyingJXRootPane.javax.swing.JToolBargetToolBar()Returns the value of the tool bar property from the underlyingJXRootPane.voidsetCancelButton(javax.swing.JButton button)Sets the cancel button property on the underlyingJXRootPane.voidsetDefaultButton(javax.swing.JButton button)Sets the default button property on the underlyingJRootPane.voidsetStatusBar(JXStatusBar statusBar)Sets the status bar property on the underlyingJXRootPane.voidsetToolBar(javax.swing.JToolBar toolBar)Sets the tool bar property on the underlyingJXRootPane.-
Methods inherited from class javax.swing.JApplet
getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setTransferHandler, update
-
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
-
Methods inherited from class java.awt.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, paint, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
-
Methods inherited from class java.awt.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, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, 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, requestFocus, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Constructor Detail
-
JXApplet
public JXApplet() throws java.awt.HeadlessExceptionCreates a the applet instance.This constructor sets the component's locale property to the value returned by
JComponent.getDefaultLocale.- Throws:
java.awt.HeadlessException- if GraphicsEnvironment.isHeadless() returns true.- See Also:
GraphicsEnvironment.isHeadless(),JComponent.getDefaultLocale()
-
-
Method Detail
-
getRootPane
public JXRootPane getRootPane()
- Specified by:
getRootPanein interfacejavax.swing.RootPaneContainer- Overrides:
getRootPanein classjavax.swing.JApplet
-
getStatusBar
public JXStatusBar getStatusBar()
Returns the value of the status bar property from the underlyingJXRootPane.- Returns:
- the
JXStatusBarwhich is the current status bar - See Also:
setStatusBar(JXStatusBar),JXRootPane.getStatusBar()
-
setStatusBar
public void setStatusBar(JXStatusBar statusBar)
Sets the status bar property on the underlyingJXRootPane.- Parameters:
statusBar- theJXStatusBarwhich is to be the status bar- See Also:
getStatusBar(),JXRootPane.setStatusBar(JXStatusBar)
-
getToolBar
public javax.swing.JToolBar getToolBar()
Returns the value of the tool bar property from the underlyingJXRootPane.- Returns:
- the
JToolBarwhich is the current tool bar - See Also:
setToolBar(JToolBar),JXRootPane.getToolBar()
-
setToolBar
public void setToolBar(javax.swing.JToolBar toolBar)
Sets the tool bar property on the underlyingJXRootPane.- Parameters:
toolBar- theJToolBarwhich is to be the tool bar- See Also:
getToolBar(),JXRootPane.setToolBar(JToolBar)
-
getDefaultButton
public javax.swing.JButton getDefaultButton()
Returns the value of the default button property from the underlyingJRootPane.- Returns:
- the
JButtonwhich is the default button - See Also:
setDefaultButton(JButton),JRootPane.getDefaultButton()
-
setDefaultButton
public void setDefaultButton(javax.swing.JButton button)
Sets the default button property on the underlyingJRootPane.- Parameters:
button- theJButtonwhich is to be the default button- See Also:
getDefaultButton(),JRootPane.setDefaultButton(JButton)
-
getCancelButton
public javax.swing.JButton getCancelButton()
Returns the value of the cancel button property from the underlyingJXRootPane.- Returns:
- the
JButtonwhich is the cancel button - See Also:
setCancelButton(JButton),JXRootPane.getCancelButton()
-
setCancelButton
public void setCancelButton(javax.swing.JButton button)
Sets the cancel button property on the underlyingJXRootPane.- Parameters:
button- theJButtonwhich is to be the cancel button- See Also:
getCancelButton(),JXRootPane.setCancelButton(JButton)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG