org.geotools.graph.util
Class SwingUtil

java.lang.Object
  extended byorg.geotools.graph.util.SwingUtil

public class SwingUtil
extends java.lang.Object


Constructor Summary
SwingUtil()
           
 
Method Summary
static void addDoubleClickEvent(javax.swing.JList list)
           
static void setSelection(javax.swing.JList list, java.lang.Object element)
           
static java.util.List toList(javax.swing.ListModel model)
           
static javax.swing.ListModel toListModel(java.util.Collection elements)
           
static javax.swing.ListModel toListModel(java.util.List elements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingUtil

public SwingUtil()
Method Detail

toListModel

public static javax.swing.ListModel toListModel(java.util.List elements)

toListModel

public static javax.swing.ListModel toListModel(java.util.Collection elements)

toList

public static java.util.List toList(javax.swing.ListModel model)

setSelection

public static void setSelection(javax.swing.JList list,
                                java.lang.Object element)

addDoubleClickEvent

public static void addDoubleClickEvent(javax.swing.JList list)


Copyright © GeoTools. All Rights Reserved.