juife
v0.1a

net.sf.juife.plaf.basic
Class BasicNavigationPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by net.sf.juife.plaf.NavigationPaneUI
              extended by net.sf.juife.plaf.basic.BasicNavigationPaneUI

public class BasicNavigationPaneUI
extends NavigationPaneUI

Basic L&F implementation of NavigationPaneUI.


Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates a new instance of BasicNavigationPaneUI.
protected  javax.swing.Icon getBackIcon()
          Gets the icon for the 'Back' button in the NavigationPane.
protected  javax.swing.Icon getDownIcon()
          Gets the icon for the 'Down' button in the NavigationPane.
protected  javax.swing.Icon getForwardIcon()
          Gets the icon for the 'Forward' button in the NavigationPane.
protected  java.lang.String getPropertyPrefix()
          Gets the property prefix.
protected  void installDefaults()
          Installs the UI defaults.
protected  void installListeners()
          Installs the event listeners for the UI.
 void installUI(javax.swing.JComponent c)
          Configures the specified component appropriate for the look and feel.
protected  void setBackIcon(javax.swing.Icon icon)
          Sets the icon for the 'Back' button in the NavigationPane.
protected  void setDownIcon(javax.swing.Icon icon)
          Sets the icon for the 'Down' button in the NavigationPane.
protected  void setForwardIcon(javax.swing.Icon icon)
          Sets the icon for the 'Forward' button in the NavigationPane.
protected  void uninstallDefaults()
          Uninstalls the UI defaults.
protected  void uninstallListeners()
          Uninstalls the event listeners for the UI.
 void uninstallUI(javax.swing.JComponent c)
          Reverses configuration which was done on the specified component during installUI.
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPropertyPrefix

protected java.lang.String getPropertyPrefix()
Gets the property prefix.

Returns:
The property prefix.

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Creates a new instance of BasicNavigationPaneUI.

Returns:
A new instance of BasicNavigationPaneUI.

installUI

public void installUI(javax.swing.JComponent c)
Configures the specified component appropriate for the look and feel. This method is invoked when the ComponentUI instance is being installed as the UI delegate on the specified component.

Overrides:
installUI in class javax.swing.plaf.ComponentUI
Parameters:
c - The component where this UI delegate is being installed.

installDefaults

protected void installDefaults()
Installs the UI defaults.


installListeners

protected void installListeners()
Installs the event listeners for the UI.


uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Reverses configuration which was done on the specified component during installUI. This method is invoked when this BasicNavigationPaneUI instance is being removed as the UI delegate for the specified component.

Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI
Parameters:
c - The component from which this UI delegate is being removed.

uninstallDefaults

protected void uninstallDefaults()
Uninstalls the UI defaults.


uninstallListeners

protected void uninstallListeners()
Uninstalls the event listeners for the UI.


getBackIcon

protected javax.swing.Icon getBackIcon()
Gets the icon for the 'Back' button in the NavigationPane.

Returns:
The icon for the 'Back' button in the NavigationPane.

setBackIcon

protected void setBackIcon(javax.swing.Icon icon)
Sets the icon for the 'Back' button in the NavigationPane.

Parameters:
icon - The new icon for the 'Back' button in the NavigationPane.

getForwardIcon

protected javax.swing.Icon getForwardIcon()
Gets the icon for the 'Forward' button in the NavigationPane.

Returns:
The icon for the 'Forward' button in the NavigationPane.

setForwardIcon

protected void setForwardIcon(javax.swing.Icon icon)
Sets the icon for the 'Forward' button in the NavigationPane.

Parameters:
icon - The new icon for the 'Forward' button in the NavigationPane.

getDownIcon

protected javax.swing.Icon getDownIcon()
Gets the icon for the 'Down' button in the NavigationPane.

Returns:
The icon for the 'Down' button in the NavigationPane.

setDownIcon

protected void setDownIcon(javax.swing.Icon icon)
Sets the icon for the 'Down' button in the NavigationPane.

Parameters:
icon - The new icon for the 'Down' button in the NavigationPane.

juife
v0.1a

Copyright © 2005 Grigor Iliev. All rights reserved. SourceForge.net Logo