juife
v0.1a

net.sf.juife.plaf.basic
Class BasicComponentListUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by net.sf.juife.plaf.ComponentListUI
              extended by net.sf.juife.plaf.basic.BasicComponentListUI

public class BasicComponentListUI
extends ComponentListUI

Basic L&F implementation of ComponentListUI.


Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Creates a new instance of BasicComponentListUI.
 void ensureIndexIsVisible(int index)
          Scrolls the viewport to make the specified component visible.
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 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 BasicComponentListUI.

Returns:
A new instance of BasicComponentListUI.

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 BasicComponentListUI 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.


ensureIndexIsVisible

public void ensureIndexIsVisible(int index)
Scrolls the viewport to make the specified component visible.

Specified by:
ensureIndexIsVisible in class ComponentListUI
Parameters:
index - The index of the component to make visible.

juife
v0.1a

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