org.das2.jythoncompletion.ui.LazyListModel

Model that can compute its values lazily and moreover handle some kind of filtering. Made public just to test an impl of Children.EntrySource based on this filtering list.


addListDataListener

addListDataListener( javax.swing.event.ListDataListener l ) → void

Parameters

l - a ListDataListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


contentsChanged

contentsChanged( javax.swing.event.ListDataEvent listDataEvent ) → void

Parameters

listDataEvent - a ListDataEvent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


create

create( javax.swing.ListModel listModel, org.das2.jythoncompletion.ui.LazyListModel.Filter f, double expectedRadio, Object defValue ) → org.das2.jythoncompletion.ui.LazyListModel

Factory method to create new filtering lazy model.

Parameters

listModel - a javax.swing.ListModel
f - a LazyListModel.Filter
expectedRadio - a double
defValue - an Object

Returns:

org.das2.jythoncompletion.ui.LazyListModel

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getElementAt

getElementAt( int index ) → Object

If value is not know for given index and CREATE.get() is Boolean.FALSE it returns defaultValue.

Parameters

index - an int

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getSize

getSize( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


intervalAdded

intervalAdded( javax.swing.event.ListDataEvent listDataEvent ) → void

Parameters

listDataEvent - a ListDataEvent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


intervalRemoved

intervalRemoved( javax.swing.event.ListDataEvent listDataEvent ) → void

Parameters

listDataEvent - a ListDataEvent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removeListDataListener

removeListDataListener( javax.swing.event.ListDataListener l ) → void

Parameters

l - a ListDataListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


run

run( ) → void

When executed, updateYourAssumeptions.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]