org.japura.gui
Class DynamicList<T>

java.lang.Object
  extended by org.japura.gui.DynamicList<T>

public class DynamicList<T>
extends java.lang.Object

Copyright (C) 2010 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Constructor Summary
DynamicList(ButtonTextField buttonField, java.util.List<T> options)
           
DynamicList(ButtonTextField buttonField, java.util.List<T> options, boolean caseSensitive)
           
DynamicList(javax.swing.JTextField field, java.util.List<T> options)
           
DynamicList(javax.swing.JTextField field, java.util.List<T> options, boolean caseSensitive)
           
 
Method Summary
 int getAvailableItemsCount()
           
 javax.swing.ListCellRenderer getCellRenderer()
           
 T getItem()
           
 void setCellRenderer(javax.swing.ListCellRenderer cellRenderer)
           
 void setItem(T item)
           
 void showDynamicList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicList

public DynamicList(ButtonTextField buttonField,
                   java.util.List<T> options)

DynamicList

public DynamicList(ButtonTextField buttonField,
                   java.util.List<T> options,
                   boolean caseSensitive)

DynamicList

public DynamicList(javax.swing.JTextField field,
                   java.util.List<T> options)

DynamicList

public DynamicList(javax.swing.JTextField field,
                   java.util.List<T> options,
                   boolean caseSensitive)
Method Detail

getCellRenderer

public javax.swing.ListCellRenderer getCellRenderer()

setCellRenderer

public void setCellRenderer(javax.swing.ListCellRenderer cellRenderer)

getItem

public T getItem()

setItem

public void setItem(T item)

getAvailableItemsCount

public int getAvailableItemsCount()

showDynamicList

public void showDynamicList()