dsto.dfc.swing.text.selection
Class Selector.SelectAllSelector

java.lang.Object
  extended by dsto.dfc.swing.text.selection.Selector.SelectAllSelector
All Implemented Interfaces:
Selector, ValueConverter, Serializable
Enclosing interface:
Selector

public static final class Selector.SelectAllSelector
extends Object
implements Selector, ValueConverter, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface dsto.dfc.swing.text.selection.Selector
Selector.SelectAllSelector
 
Field Summary
 
Fields inherited from interface dsto.dfc.swing.text.selection.Selector
SELECT_ALL
 
Constructor Summary
Selector.SelectAllSelector()
           
 
Method Summary
 Object convertTo(Object value, Class form)
          Convert a value to a given class.
 boolean equals(Object o)
           
 ValueConverter getConverter()
           
 boolean matches(Object value)
          True if this selector matches the given value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selector.SelectAllSelector

public Selector.SelectAllSelector()
Method Detail

matches

public boolean matches(Object value)
Description copied from interface: Selector
True if this selector matches the given value.

Specified by:
matches in interface Selector

getConverter

public ValueConverter getConverter()

convertTo

public Object convertTo(Object value,
                        Class form)
                 throws IllegalFormatException
Description copied from interface: ValueConverter
Convert a value to a given class.

Specified by:
convertTo in interface ValueConverter
Parameters:
value - The value to convert.
form - The new class.
Returns:
A new instance of form containing the converted value.
Throws:
IllegalFormatException - if conversion was not possible.

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2008 Commonwealth of Australia