public class JXApplet extends JApplet
JXRootPane
as its root container.JApplet.AccessibleJApplet
Applet.AccessibleApplet
Panel.AccessibleAWTPanel
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
accessibleContext, rootPane, rootPaneCheckingEnabled
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
JXApplet()
Creates a the applet instance.
|
Modifier and Type | Method and Description |
---|---|
protected JXRootPane |
createRootPane()
Overridden to create a JXRootPane and to ensure that the root pane is always created on the
Event Dispatch Thread.
|
protected JXRootPane |
createRootPaneSafely()
This method performs the actual creation of the root pane and is guaranteed to be performed on the Event Dispatch Thread.
|
JButton |
getCancelButton()
Returns the value of the cancel button property from the underlying
JXRootPane . |
JButton |
getDefaultButton()
Returns the value of the default button property from the underlying
JRootPane . |
JXRootPane |
getRootPane() |
JXStatusBar |
getStatusBar()
Returns the value of the status bar property from the underlying
JXRootPane . |
JToolBar |
getToolBar()
Returns the value of the tool bar property from the underlying
JXRootPane . |
void |
setCancelButton(JButton button)
Sets the cancel button property on the underlying
JXRootPane . |
void |
setDefaultButton(JButton button)
Sets the default button property on the underlying
JRootPane . |
void |
setStatusBar(JXStatusBar statusBar)
Sets the status bar property on the underlying
JXRootPane . |
void |
setToolBar(JToolBar toolBar)
Sets the tool bar property on the underlying
JXRootPane . |
addImpl, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
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, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, 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, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
private static final long serialVersionUID
public JXApplet() throws HeadlessException
This constructor sets the component's locale property to the value returned by
JComponent.getDefaultLocale
.
HeadlessException
- if GraphicsEnvironment.isHeadless() returns true.GraphicsEnvironment.isHeadless()
,
JComponent.getDefaultLocale()
protected final JXRootPane createRootPane()
createRootPaneSafely()
.createRootPane
in class JApplet
createRootPaneSafely()
protected JXRootPane createRootPaneSafely()
Subclasses that need to configure the root pane or create a custom root pane should override this method.
public JXRootPane getRootPane()
getRootPane
in interface RootPaneContainer
getRootPane
in class JApplet
public JXStatusBar getStatusBar()
JXRootPane
.JXStatusBar
which is the current status barsetStatusBar(JXStatusBar)
,
JXRootPane.getStatusBar()
public void setStatusBar(JXStatusBar statusBar)
JXRootPane
.statusBar
- the JXStatusBar
which is to be the status bargetStatusBar()
,
JXRootPane.setStatusBar(JXStatusBar)
public JToolBar getToolBar()
JXRootPane
.JToolBar
which is the current tool barsetToolBar(JToolBar)
,
JXRootPane.getToolBar()
public void setToolBar(JToolBar toolBar)
JXRootPane
.toolBar
- the JToolBar
which is to be the tool bargetToolBar()
,
JXRootPane.setToolBar(JToolBar)
public JButton getDefaultButton()
JRootPane
.JButton
which is the default buttonsetDefaultButton(JButton)
,
JRootPane.getDefaultButton()
public void setDefaultButton(JButton button)
JRootPane
.button
- the JButton
which is to be the default buttongetDefaultButton()
,
JRootPane.setDefaultButton(JButton)
public JButton getCancelButton()
JXRootPane
.JButton
which is the cancel buttonsetCancelButton(JButton)
,
JXRootPane.getCancelButton()
public void setCancelButton(JButton button)
JXRootPane
.button
- the JButton
which is to be the cancel buttongetCancelButton()
,
JXRootPane.setCancelButton(JButton)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses