|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.ComponentUI com.levigo.jadice.swing.navigator.NavigatorComponentUI com.levigo.jadice.swing.navigator.BasicNavigatorComponentUI
public class BasicNavigatorComponentUI
Field Summary | |
---|---|
protected Dimension |
currentSize
|
protected DecorationTool |
lockDecoTool
|
protected JScrollPane |
thumbnailScrollPane
|
protected ThumbnailView |
thumbnailView
|
protected NavigatorComponent |
view
|
Constructor Summary | |
---|---|
BasicNavigatorComponentUI()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected NavigatorComponent view
protected ThumbnailView thumbnailView
protected JScrollPane thumbnailScrollPane
protected DecorationTool lockDecoTool
protected final Dimension currentSize
Constructor Detail |
---|
public BasicNavigatorComponentUI()
Method Detail |
---|
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()
uninstallDefaults()
,
installUI(javax.swing.JComponent)
protected void uninstallDefaults()
installDefaults()
,
uninstallUI(javax.swing.JComponent)
,
CellRendererPane
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()
installUI(javax.swing.JComponent)
,
uninstallListeners()
protected void uninstallListeners()
uninstallUI(javax.swing.JComponent)
,
installListeners()
protected void adjustCellSize()
public final ToolManager getToolManager()
NavigatorComponentUI
ToolManager
of the embedded navigator thumbnail component
getToolManager
in class NavigatorComponentUI
ToolManager
or null
if not available
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |