JComponentPack 1.3.0

com.zfqjava.swing.plaf.basic
Class BasicListViewUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.zfqjava.swing.plaf.ListViewUI
          extended by com.zfqjava.swing.plaf.basic.BasicListViewUI

public class BasicListViewUI
extends ListViewUI

The basic L&F for ListViewUI.


Constructor Summary
BasicListViewUI()
           
 
Method Summary
 void cancelEditing(JListView listView)
           
protected  JList createList()
           
protected  JTable createTable()
          Creates a JTable for the JListView's detail view mode.
static ComponentUI createUI(JComponent c)
           
 int getEditingIndex(JListView listView)
           
 JList getList()
          Returns the JList for the JListView's small icon, large icon, list, thumbnails view mode.
 JTable getTable()
          Returns the JTable for the JListView's detail view mode.
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
 boolean isEditing(JListView listView)
           
 void startEditingAtIndex(JListView listView, int index)
           
 boolean stopEditing(JListView listView)
           
protected  void uninstallComponents()
           
protected  void uninstallDefaults()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
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
 

Constructor Detail

BasicListViewUI

public BasicListViewUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

installComponents

protected void installComponents()

uninstallComponents

protected void uninstallComponents()

getList

public JList getList()
Returns the JList for the JListView's small icon, large icon, list, thumbnails view mode.

Returns:
the JList
Since:
ComponentSet 1.3.1
See Also:
createList()

createList

protected JList createList()

getTable

public JTable getTable()
Returns the JTable for the JListView's detail view mode.

Returns:
the JTable
Since:
ComponentSet 1.3.1
See Also:
createTable()

createTable

protected JTable createTable()
Creates a JTable for the JListView's detail view mode.

Returns:
the JTable
Since:
ComponentSet 1.3.1
See Also:
getTable()

installListeners

protected void installListeners()

uninstallListeners

protected void uninstallListeners()

isEditing

public boolean isEditing(JListView listView)
Specified by:
isEditing in class ListViewUI

stopEditing

public boolean stopEditing(JListView listView)
Specified by:
stopEditing in class ListViewUI

cancelEditing

public void cancelEditing(JListView listView)
Specified by:
cancelEditing in class ListViewUI

startEditingAtIndex

public void startEditingAtIndex(JListView listView,
                                int index)
Specified by:
startEditingAtIndex in class ListViewUI

getEditingIndex

public int getEditingIndex(JListView listView)
Specified by:
getEditingIndex in class ListViewUI

JComponentPack 1.3.0

Send your Feedback
JComponentPack 1.3.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.