| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv JButton | |
| pack-priv JLabel | |
| pack-priv MetalDesktopIconUI. | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| button | back to summary |
|---|---|
| pack-priv JButton button | |
| label | back to summary |
|---|---|
| pack-priv JLabel label | |
| titleListener | back to summary |
|---|---|
| pack-priv MetalDesktopIconUI. | |
| width | back to summary |
|---|---|
| private int width | |
| MetalDesktopIconUI | back to summary |
|---|---|
| public MetalDesktopIconUI() Constructs a new instance of | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Constructs a new instance of
| |
| getMaximumSize | back to summary |
|---|---|
| public Dimension getMaximumSize(JComponent c) Overrides javax. Doc from javax. Desktop icons can not be resized. Therefore, we should always return the minimum size of the desktop icon. | |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's minimum size appropriate for
the look and feel. If | |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize(JComponent c) Overrides javax. Doc from javax. Returns the specified component's preferred size appropriate for
the look and feel. If | |
| installComponents | back to summary |
|---|---|
| protected void installComponents() Overrides javax. Doc from javax. Registers components. | |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Overrides javax. Doc from javax. Installs default properties. | |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Overrides javax. Doc from javax. Registers listeners. | |
| uninstallComponents | back to summary |
|---|---|
| protected void uninstallComponents() Overrides javax. Doc from javax. Unregisters components. | |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Overrides javax. Doc from javax. Unregisters listeners. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | propertyChange(PropertyChangeEvent e)
Implements java. This method gets called when a bound property is changed. |
| TitleListener | back to summary |
|---|---|
| pack-priv TitleListener() | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent e) Implements java. Doc from java. This method gets called when a bound property is changed. | |