|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jdesktop.jxlayer.plaf.LayerUI<V>
org.jdesktop.jxlayer.plaf.AbstractLayerUI<javax.swing.JComponent>
org.jdesktop.jxlayer.plaf.ext.ButtonPanelUI
public class ButtonPanelUI
| Constructor Summary | |
|---|---|
ButtonPanelUI()
|
|
ButtonPanelUI(boolean cyclic)
|
|
| Method Summary | |
|---|---|
void |
installUI(javax.swing.JComponent c)
Configures the specified JXLayer appropriate for this AbstractLayerUI. |
boolean |
isFocusCyclic()
Returns whether arrow keys should support cyclic focus traversal ordering for for this ButtonPanelUI. |
protected void |
processKeyEvent(java.awt.event.KeyEvent e,
JXLayer<javax.swing.JComponent> l)
Processes KeyEvent occurring on the JXLayer
or any of its subcomponents. |
void |
setFocusCyclic(boolean isFocusCyclic)
Sets whether arrow keys should support cyclic focus traversal ordering for this ButtonPanelUI. |
void |
uninstallUI(javax.swing.JComponent c)
Reverses configuration which was done on the specified component during installUI(JComponent). |
| Methods inherited from class org.jdesktop.jxlayer.plaf.LayerUI |
|---|
getAccessibleChild, getAccessibleChildrenCount, getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, isEventEnabled, update, updateUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, createUI, getMaximumSize, getMinimumSize, getPreferredSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ButtonPanelUI()
public ButtonPanelUI(boolean cyclic)
| Method Detail |
|---|
public void installUI(javax.swing.JComponent c)
AbstractLayerUIJXLayer appropriate for this AbstractLayerUI.
This method is invoked when the LayerUI instance is being installed
as the UI delegate on the specified JXLayer.
Subclasses can install any listeners to the passed JXLayer,
configure its glassPane or do any other setting up.
The default implementation registers the passed JXLayer
as a LayerItemListener for this AbstractLayerUI.
Note: Subclasses can safely cast the passed component
to the JXLayer<V>
installUI in class AbstractLayerUI<javax.swing.JComponent>c - the JXLayer where this UI delegate is being installedAbstractLayerUI.uninstallUI(JComponent)public void uninstallUI(javax.swing.JComponent c)
AbstractLayerUIinstallUI(JComponent). This method is invoked when this
LayerUI instance is being removed as the UI delegate
for the specified JXLayer.
uninstallUI(JComponent) should undo the
configuration performed in installUI(JComponent), being careful to
leave the JXLayer instance in a clean state
(e.g. all previously set listeners must be removed in this method).
The default implementation removes the passed JXLayer
from the LayerItemListener's list of this AbstractLayerUI.
Note: Subclasses can safely cast the passed component
to the JXLayer<V>
uninstallUI in class AbstractLayerUI<javax.swing.JComponent>c - the JXLayer where this UI delegate is being installedAbstractLayerUI.installUI(JComponent)public boolean isFocusCyclic()
public void setFocusCyclic(boolean isFocusCyclic)
isFocusCyclic - sets whether arrow keys should support
cyclic focus traversal ordering
protected void processKeyEvent(java.awt.event.KeyEvent e,
JXLayer<javax.swing.JComponent> l)
KeyEvent occurring on the JXLayer
or any of its subcomponents.
processKeyEvent in class AbstractLayerUI<javax.swing.JComponent>e - the KeyEvent to be processedl - the layer this LayerUI is set to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||