public class BasicNavigatorComponentUI extends NavigatorComponentUI
Modifier and Type | Field and Description |
---|---|
protected Dimension |
currentSize |
protected DecorationTool |
lockDecoTool |
protected JScrollPane |
thumbnailScrollPane |
protected ThumbnailView |
thumbnailView |
protected NavigatorComponent |
view |
Constructor and Description |
---|
BasicNavigatorComponentUI() |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustCellSize() |
static ComponentUI |
createUI(JComponent list)
Returns a new instance of NavigatorComponentUI.
|
ToolManager |
getToolManager()
Returns the
ToolManager of the embedded navigator thumbnail component |
protected void |
installDefaults()
Initialize NavigatorComponent properties, e.g.
|
protected void |
installKeyboardActions()
Registers the keyboard bindings on the
ThumbnailView that the
BasicListUI is associated with. |
protected void |
installListeners()
Create and install the listeners for the ThumbnailView, its model, and its selectionModel.
|
void |
installUI(JComponent c) |
protected void |
uninstallDefaults()
Set the NavigatorComponent properties that haven't been explicitly overridden to null.
|
protected void |
uninstallKeyboardActions()
Unregisters keyboard actions installed from
installKeyboardActions . |
protected void |
uninstallListeners()
Remove the listeners for the ThumbnailView, its model, and its selectionModel.
|
void |
uninstallUI(JComponent c) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
protected NavigatorComponent view
protected ThumbnailView thumbnailView
protected JScrollPane thumbnailScrollPane
protected DecorationTool lockDecoTool
protected final Dimension currentSize
public static ComponentUI createUI(JComponent list)
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installDefaults()
protected void uninstallDefaults()
protected void installKeyboardActions()
ThumbnailView
that the
BasicListUI
is associated with. This method is called at installUI() time.installUI(javax.swing.JComponent)
protected void uninstallKeyboardActions()
installKeyboardActions
. This method is
called at uninstallUI() time - subclasses should ensure that all of the keyboard actions
registered at installUI time are removed here.installUI(javax.swing.JComponent)
protected void installListeners()
protected void uninstallListeners()
protected void adjustCellSize()
public final ToolManager getToolManager()
NavigatorComponentUI
ToolManager
of the embedded navigator thumbnail componentgetToolManager
in class NavigatorComponentUI
ToolManager
or null
if not availableCopyright © 2024 levigo holding gmbh. All rights reserved.