C
- component typepublic abstract class WAccordionUI<C extends WebAccordion> extends ComponentUI implements WebUI<C>
WebAccordion
component.WebAccordion
,
AccordionPane
,
AccordionModel
,
WebAccordionModel
Modifier and Type | Field and Description |
---|---|
protected C |
accordion
Runtime variables.
|
Constructor and Description |
---|
WAccordionUI() |
Modifier and Type | Method and Description |
---|---|
String |
getPropertyPrefix()
Returns component property prefix.
|
protected void |
installDefaults()
Installs default component settings.
|
protected void |
installListeners()
Installs default component listeners.
|
void |
installUI(JComponent c)
Configures the specified component appropriate for the look and feel.
|
protected void |
uninstallDefaults()
Uninstalls default component settings.
|
protected void |
uninstallListeners()
Uninstalls default component listeners.
|
void |
uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during
installUI . |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
protected C extends WebAccordion accordion
@NotNull public String getPropertyPrefix()
WebUI
getPropertyPrefix
in interface WebUI<C extends WebAccordion>
WebLookAndFeel.initComponentDefaults(UIDefaults)
public void installUI(@NotNull JComponent c)
WebUI
ComponentUI
instance is being installed as the UI delegate on the specified component.
This method should completely configure the component for the look and feel, including the following:
LayoutManager
on the component if necessary.
PropertyChangeListener
on the component in order
to detect and respond to component property changes appropriately.
installUI
in interface WebUI<C extends WebAccordion>
installUI
in class ComponentUI
c
- the component where this UI delegate is being installedComponentUI.installUI(JComponent)
,
WebUI.uninstallUI(javax.swing.JComponent)
,
JComponent.setUI(javax.swing.plaf.ComponentUI)
,
JComponent.updateUI()
public void uninstallUI(@NotNull JComponent c)
WebUI
installUI
.
This method is invoked when this UIComponent
instance is being removed as the UI delegate for the specified component.
This method should undo the configuration performed in installUI
, being careful to leave the JComponent
instance
in a clean state (no extraneous listeners, look-and-feel-specific property objects, etc.).
This should include the following:
uninstallUI
in interface WebUI<C extends WebAccordion>
uninstallUI
in class ComponentUI
c
- the component from which this UI delegate is being removed;
this argument is often ignored, but might be used if the UI object is stateless and shared by multiple componentsComponentUI.uninstallUI(JComponent)
,
WebUI.installUI(javax.swing.JComponent)
,
JComponent.updateUI()
protected void installDefaults()
protected void uninstallDefaults()
protected void installListeners()
protected void uninstallListeners()
Copyright © 2020. All rights reserved.