Class HistoryTree.HistoryListModel
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.querybrowser.HistoryTree.HistoryListModel
-
- All Implemented Interfaces:
javax.swing.ListModel
- Enclosing class:
- HistoryTree
public class HistoryTree.HistoryListModel extends java.lang.Object implements javax.swing.ListModel
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<javax.swing.event.ListDataListener>
listenerList
protected java.util.List<java.lang.String>
queryHistory
-
Constructor Summary
Constructors Constructor Description HistoryListModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String query)
void
addListDataListener(javax.swing.event.ListDataListener l)
void
clearHistory()
java.lang.Object
getElementAt(int index)
int
getSize()
void
removeListDataListener(javax.swing.event.ListDataListener l)
-
-
-
Method Detail
-
clearHistory
public void clearHistory()
-
add
public void add(java.lang.String query)
-
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interfacejavax.swing.ListModel
-
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interfacejavax.swing.ListModel
-
getSize
public int getSize()
- Specified by:
getSize
in interfacejavax.swing.ListModel
-
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interfacejavax.swing.ListModel
-
-