public class BasicPrintPreviewPaneUI extends PrintPreviewPaneUI implements javax.swing.event.ChangeListener
Modifier and Type | Class and Description |
---|---|
class |
BasicPrintPreviewPaneUI.PrintPreviewRenderer
Panel to display the print preview.
|
Constructor and Description |
---|
BasicPrintPreviewPaneUI() |
Modifier and Type | Method and Description |
---|---|
protected java.awt.LayoutManager |
createLayoutManager() |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Required by super class.
|
void |
installComponents()
Create and install any sub-components.
|
void |
installDefaults()
Install default values for colors, fonts, borders, etc.
|
void |
installListeners()
Install any action listeners, mouse listeners, etc.
|
void |
installUI(javax.swing.JComponent c)
Configures the specified component appropriate for the look and feel.
|
void |
stateChanged(javax.swing.event.ChangeEvent event) |
void |
uninstallComponents()
Tear down and clean up.
|
void |
uninstallDefaults() |
void |
uninstallListeners() |
void |
uninstallUI(javax.swing.JComponent c)
Tear down and clean up.
|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- not usedpublic void installUI(javax.swing.JComponent c)
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 class javax.swing.plaf.ComponentUI
c
- The actual component.public void installDefaults()
public void installComponents()
public void installListeners()
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
public void uninstallDefaults()
public void uninstallComponents()
public void uninstallListeners()
public void stateChanged(javax.swing.event.ChangeEvent event)
stateChanged
in interface javax.swing.event.ChangeListener
protected java.awt.LayoutManager createLayoutManager()