|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Stringable | |
| edu.neu.ccs | Provides the Stringable interface and data models that implement the interface. |
| edu.neu.ccs.codec | Provides classes for encoding and decoding data for use with recursively Displayable container classes. |
| edu.neu.ccs.console | Provides classes that implement the JPT text console. |
| edu.neu.ccs.filter | Provides classes for filtering Stringable objects either by state or by type. |
| edu.neu.ccs.gui | Provides classes and interfaces for designing and implementing graphical interfaces and for the creation of paintable and mutatable objects.. |
| edu.neu.ccs.util | Provides utility classes and classes with static utility methods. |
| Uses of Stringable in edu.neu.ccs |
| Classes in edu.neu.ccs that implement Stringable | |
class |
HexXByte
Class HexXByte extends XByte
by replacing the three methods:
fromStringData,
toStringData,
and toString,
to use hexadecimal digits rather than decimal digits. |
class |
HexXDouble
Class HexXDouble extends XDouble
by replacing the three methods:
fromStringData,
toStringData,
and toString,
to use hexadecimal digits rather than decimal digits. |
class |
HexXFloat
Class HexXFloat extends XFloat
by replacing the three methods:
fromStringData,
toStringData,
and toString,
to use hexadecimal digits rather than decimal digits. |
class |
HexXInt
Class HexXInt extends XInt
by replacing the three methods:
fromStringData,
toStringData,
and toString,
to use hexadecimal digits rather than decimal digits. |
class |
HexXLong
Class HexXLong extends XLong
by replacing the three methods:
fromStringData,
toStringData,
and toString,
to use hexadecimal digits rather than decimal digits. |
class |
HexXShort
Class HexXShort extends XShort
by replacing the three methods:
fromStringData,
toStringData,
and toString,
to use hexadecimal digits rather than decimal digits. |
class |
XBigDecimal
Object wrapper for the arbitrary precision BigDecimal class, that also provides
capabilities. |
class |
XBigInteger
Object wrapper for the arbitrary precision BigInteger class that also provides
capabilities. |
class |
XBoolean
Object wrapper for the primitive boolean type that also provides
capabilities. |
class |
XByte
Object wrapper for the primitive byte type that also provides
capabilities. |
class |
XChar
Object wrapper for the primitive char type that also provides
capabilities. |
class |
XColor
Object wrapper for the Color class
that also provides
capabilities. |
class |
XDouble
Object wrapper for the primitive double type that also provides
capabilities. |
class |
XFloat
Object wrapper for the primitive float type that also provides
capabilities. |
class |
XInt
Object wrapper for the primitive int type that also provides
capabilities. |
class |
XLong
Object wrapper for the primitive long type that also provides
capabilities. |
class |
XNumber
Abstract superclass for objects
that wrap a numeric value, whether it is a primitive type
or an arbitrary precision representation. |
class |
XObject
Abstract superclass for objects. |
class |
XPoint2D
Data model representing a point in graphics, containing a double x coordinate
and a double y coordinate. |
class |
XShort
Object wrapper for the primitive short type that also provides
capabilities. |
class |
XString
Object wrapper for the class that also provides
capabilities. |
| Methods in edu.neu.ccs with parameters of type Stringable | |
static String[] |
XObject.toStringArray(Stringable[] obj)
Returns an array of Strings
containing the encapsulated states of the given array
of Stringable objects. |
| Uses of Stringable in edu.neu.ccs.codec |
| Methods in edu.neu.ccs.codec with parameters of type Stringable | |
static String |
CodecUtilities.encode(Stringable[] data)
Encodes the given array of Stringable objects
into an encoded data String
using the default CODEC. |
static String |
CodecUtilities.encode(Stringable[] data,
String codecID)
Encodes the given array of Stringable objects
into a single encoded data String
using the installed CODEC
with the given unique identifier. |
| Uses of Stringable in edu.neu.ccs.console |
| Methods in edu.neu.ccs.console that return Stringable | |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(String prompt,
String data,
Stringable obj,
StringableFilter filter)
Returns the Stringable object obtained
from the given Stringable object
by using the mandatory input model to acquire the data,
with the given default data as a user option,
and with the given input filter to constrain the result. |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(String prompt)
Returns a Stringable object created
by using the mandatory input model to acquire the data. |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(String prompt,
StringableFilter filter)
Returns a Stringable object created
by using the mandatory input model to acquire the data
with the given input filter to constrain the result. |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(String prompt,
String data)
Returns a Stringable object created
by using the mandatory input model to acquire the data
with the given default data as a user option. |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(String prompt,
String data,
StringableFilter filter)
Returns a Stringable object created
by using the mandatory input model to acquire the data,
with the given default data as a user option,
and with the given input filter to constrain the result. |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(Class dataType,
String prompt,
String data,
StringableFilter filter)
Temporarily sets the data type for this stream to the given data type; creates a Stringable object
by using the mandatory input model to acquire the data,
with the given default data as a user option,
and with the given input filter to constrain the result;
restores the data type for this stream to its original
setting;
finally returns the object created. |
Stringable |
ConsoleGateway.ConsoleInputStream.requestObject(String prompt,
Stringable obj,
StringableFilter filter)
Returns the Stringable object obtained
from the given Stringable object
by using the optional input model to acquire the data
with the given input filter to constrain the result. |
Stringable |
ConsoleGateway.ConsoleInputStream.requestObject(String prompt)
Returns the Stringable object obtained
by using the optional input model to acquire the data. |
Stringable |
ConsoleGateway.ConsoleInputStream.requestObject(String prompt,
StringableFilter filter)
Returns the Stringable object obtained
by using the optional input model to acquire the data
with the given input filter to constrain the result. |
Stringable |
ConsoleGateway.ConsoleInputStream.requestObject(Class dataType,
String prompt,
StringableFilter filter)
Temporarily sets the data type for this stream to the given data type; creates a Stringable object
by using the optional input model to acquire the data
with the given input filter to constrain the result;
restores the data type for this stream to its original
setting;
finally returns the object created. |
| Methods in edu.neu.ccs.console with parameters of type Stringable | |
Stringable |
ConsoleGateway.ConsoleInputStream.demandObject(String prompt,
String data,
Stringable obj,
StringableFilter filter)
Returns the Stringable object obtained
from the given Stringable object
by using the mandatory input model to acquire the data,
with the given default data as a user option,
and with the given input filter to constrain the result. |
void |
ConsoleGateway.ConsoleInputStream.demand(String prompt,
Stringable obj)
Sets the state of the given Stringable object
by using the mandatory input model to acquire the data. |
void |
ConsoleGateway.ConsoleInputStream.demand(String prompt,
Stringable obj,
StringableFilter filter)
Sets the state of the given Stringable object
by using the mandatory input model to acquire the data
with the given input filter to constrain the result. |
void |
ConsoleGateway.ConsoleInputStream.demand(String prompt,
String data,
Stringable obj)
Sets the state of the given Stringable object
by using the mandatory input model to acquire the data
with the given default data as a user option. |
void |
ConsoleGateway.ConsoleInputStream.demand(String prompt,
String data,
Stringable obj,
StringableFilter filter)
Sets the state of the given Stringable object
by using the mandatory input model to acquire the data,
with the given default data as a user option,
and with the given input filter to constrain the result. |
Stringable |
ConsoleGateway.ConsoleInputStream.requestObject(String prompt,
Stringable obj,
StringableFilter filter)
Returns the Stringable object obtained
from the given Stringable object
by using the optional input model to acquire the data
with the given input filter to constrain the result. |
void |
ConsoleGateway.ConsoleInputStream.request(String prompt,
Stringable obj)
Sets the state of the given Stringable object
by using the optional input model to acquire the data. |
void |
ConsoleGateway.ConsoleInputStream.request(String prompt,
Stringable obj,
StringableFilter filter)
Sets the state of the given Stringable object
by using the optional input model to acquire the data
with the given input filter to constrain the result. |
boolean |
ConsoleGateway.ConsoleInputStream.reading(String prompt,
Stringable obj)
Sets the state of the given Stringable object
by using a variation of the optional input model to acquire the
data. |
boolean |
ConsoleGateway.ConsoleInputStream.reading(String prompt,
Stringable obj,
StringableFilter filter)
Sets the state of the given Stringable object
by using a variation of the optional input model to acquire the
data with the given input filter to constrain the result. |
| Uses of Stringable in edu.neu.ccs.filter |
| Fields in edu.neu.ccs.filter declared as Stringable | |
protected Stringable |
FilterException.obj
The Stringable object that failed
the filtering process, with its state set to the value
that was current at the time the exception was thrown. |
| Methods in edu.neu.ccs.filter that return Stringable | |
Stringable |
StringableFilterSequence.filterStringable(Stringable obj)
Applies the filters in this sequence in order. |
Stringable |
StringableFilter.filterStringable(Stringable obj)
Filters the given object. |
Stringable |
RangeFilter.Long.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
RangeFilter.Double.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
RangeFilter.BigInteger.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
RangeFilter.BigDecimal.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
NumericFilter.filterStringable(Stringable obj)
Returns the given object if it is an instance of type XNumber. |
Stringable |
MinimumBoundFilter.Long.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MinimumBoundFilter.Double.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MinimumBoundFilter.BigInteger.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MinimumBoundFilter.BigDecimal.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.Long.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.Double.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.BigInteger.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.BigDecimal.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
FilterException.getModel()
Returns the model object that failed the filtering process with its state set to the value that was current at the time the exception was thrown. |
Stringable |
CaseActionFilter.filterStringable(Stringable obj)
Filters the given XString object
based on this case action scheme. |
| Methods in edu.neu.ccs.filter with parameters of type Stringable | |
Stringable |
StringableFilterSequence.filterStringable(Stringable obj)
Applies the filters in this sequence in order. |
Stringable |
StringableFilter.filterStringable(Stringable obj)
Filters the given object. |
Stringable |
RangeFilter.Long.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
RangeFilter.Double.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
RangeFilter.BigInteger.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
RangeFilter.BigDecimal.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
NumericFilter.filterStringable(Stringable obj)
Returns the given object if it is an instance of type XNumber. |
Stringable |
MinimumBoundFilter.Long.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MinimumBoundFilter.Double.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MinimumBoundFilter.BigInteger.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MinimumBoundFilter.BigDecimal.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.Long.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.Double.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.BigInteger.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
MaximumBoundFilter.BigDecimal.filterStringable(Stringable obj)
Returns the given object if it satisfies the bound for this range. |
Stringable |
CaseActionFilter.filterStringable(Stringable obj)
Filters the given XString object
based on this case action scheme. |
| Constructors in edu.neu.ccs.filter with parameters of type Stringable | |
FilterException(Stringable model)
Constructs a filter exception with the given model and no detail messsage. |
|
FilterException(Stringable model,
String message)
Constructs a filter exception with the given model and detail messsage. |
|
| Uses of Stringable in edu.neu.ccs.gui |
| Classes in edu.neu.ccs.gui that implement Stringable | |
class |
Interval
Encapsulates an interval of double precision numbers. |
| Fields in edu.neu.ccs.gui declared as Stringable | |
protected Stringable |
InputDialog.model
Object whose state is to be set through this dialog input operation. |
| Methods in edu.neu.ccs.gui that return Stringable | |
Stringable |
TypedViewWrapper.demandObject()
|
Stringable |
TypedViewWrapper.requestObject()
|
Stringable |
TypedView.demandObject()
Returns a Stringable object based on the view state
of the view using the mandatory model. |
Stringable |
TypedView.requestObject()
Returns a Stringable object based on the view state
of the view using the optional model; throws an exception if the
input operation is cancelled by the user. |
Stringable |
TextFieldView.demandObject()
|
Stringable |
TextFieldView.requestObject()
|
Stringable |
TextFieldView.demandObject(StringableFilter filter)
|
Stringable |
TextFieldView.requestObject(StringableFilter filter)
|
Stringable |
TextFieldView.demandObject(Class dataType,
StringableFilter filter)
|
Stringable |
TextFieldView.requestObject(Class dataType,
StringableFilter filter)
|
Stringable |
TextAreaView.demandObject()
Returns an XString object
whose state is set to the String content
for this view. |
Stringable |
TextAreaView.requestObject()
Returns an XString object
whose state is set to the String content
for this view. |
Stringable |
SliderView.demandObject()
Returns an XInt object
whose state is set to the value of this slider. |
Stringable |
SliderView.requestObject()
Returns an XInt object
whose state is set to the value of this slider. |
static Stringable |
SimpleDialog.demandObject(TypedView viewObject)
Returns the object produced by the given input view using mandatory dialog box input. |
static Stringable |
SimpleDialog.requestObject(TypedView viewObject)
Returns the object produced by the given input view using optional dialog box input, or throws an exception if the operation is cancelled. |
Stringable |
OptionsView.demandObject()
Returns an XInt object whose state is set to the index
of the currently selected option. |
Stringable |
OptionsView.requestObject()
Returns an XInt object whose state is set to the index
of the currently selected option. |
Stringable |
InputDialog.getModel()
Returns the data model whose state was set through this dialog input operation. |
static Stringable |
InputDialog.showDemandDialog(TypedView viewObject)
Shows a dialog for mandatory input using the given view. |
static Stringable |
InputDialog.showRequestDialog(TypedView viewObject)
Shows a dialog for optional input using the given view. |
Stringable |
GeneralViewWrapper.demandObject(StringableFilter filter)
|
Stringable |
GeneralViewWrapper.requestObject(StringableFilter filter)
|
Stringable |
GeneralViewWrapper.demandObject(Class dataType,
StringableFilter filter)
|
Stringable |
GeneralViewWrapper.requestObject(Class dataType,
StringableFilter filter)
|
Stringable |
GeneralViewSupport.obtainObject(Stringable object)
Returns a Stringable object based on the view state
data type, and filter or throws a ParseException to be
handled by other methods. |
Stringable |
GeneralViewSupport.demandObject()
Returns a Stringable object based on the view state
of the view, the current data type and filter, and the mandatory
model. |
Stringable |
GeneralViewSupport.requestObject()
Returns a Stringable object based on the view state
of the view, the current data type and filter, and the optional
model. |
Stringable |
GeneralViewSupport.demandObject(StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary filter, and the mandatory model. |
Stringable |
GeneralViewSupport.requestObject(StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary filter, and the optional model. |
Stringable |
GeneralViewSupport.demandObject(Class dataType,
StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary data type and filter, and the mandatory
model. |
Stringable |
GeneralViewSupport.requestObject(Class dataType,
StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary data type and filter, and the optional
model. |
Stringable |
GeneralView.demandObject(StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary filter, and the mandatory model. |
Stringable |
GeneralView.requestObject(StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary filter, and the optional model. |
Stringable |
GeneralView.demandObject(Class dataType,
StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary data type and filter, and the mandatory
model. |
Stringable |
GeneralView.requestObject(Class dataType,
StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary data type and filter, and the optional
model. |
Stringable |
FileView.demandObject()
Returns an XString representing
the currently selected path. |
Stringable |
FileView.requestObject()
Returns an XString representing
the currently selected path. |
Stringable |
DropdownView.demandObject()
|
Stringable |
DropdownView.requestObject()
|
Stringable |
DropdownView.demandObject(StringableFilter filter)
|
Stringable |
DropdownView.requestObject(StringableFilter filter)
|
Stringable |
DropdownView.demandObject(Class dataType,
StringableFilter filter)
|
Stringable |
DropdownView.requestObject(Class dataType,
StringableFilter filter)
|
Stringable |
ColorView.demandObject()
Returns an XColor object
whose state is set to the view state of this view. |
Stringable |
ColorView.requestObject()
Returns an XColor object
whose state is set to the view state of this view. |
Stringable |
BooleanView.demandObject()
Returns an XBoolean object
whose state is set to the view state of this view. |
Stringable |
BooleanView.requestObject()
Returns an XBoolean object
whose state is set to the view state of this view. |
abstract Stringable |
ArrayPanel.demandObject()
|
abstract Stringable |
ArrayPanel.requestObject()
|
Stringable[] |
ArrayPanel.demandObjectArray()
Returns an array of model objects of the appropriate type initialized from the view states for the elements of this array panel, using the mandatory model of IO. |
Stringable[] |
ArrayPanel.requestObjectArray()
Returns an array of model objects of the appropriate type initialized from the view states for the elements of this array panel, using the optional model of IO. |
| Methods in edu.neu.ccs.gui with parameters of type Stringable | |
Stringable |
GeneralViewSupport.obtainObject(Stringable object)
Returns a Stringable object based on the view state
data type, and filter or throws a ParseException to be
handled by other methods. |
protected boolean |
GeneralViewSupport.handleError(Stringable object,
int inputModel,
ParseException exception)
Performs the error handling for an input operation. |
| Constructors in edu.neu.ccs.gui with parameters of type Stringable | |
ErrorDialog(Stringable modelObject,
TypedView viewObject,
StringableFilter filterObject,
ParseException exception)
Constructs a modal dialog for error recovery initiated by the given input component when trying to set the state of the given model object. |
|
ArrayPanel(Stringable[] obj)
Constructs an array panel displaying the given array of model objects with the default direction, controls, and alignment. |
|
ArrayPanel(Stringable[] obj,
int orientation)
Constructs an array panel displaying the given array of model objects with the given orientation, and the default controls and alignment. |
|
ArrayPanel(Stringable[] obj,
int orientation,
int controls,
int alignment)
Constructs an array panel displaying the given array of model objects with the given orientation, controls and alignment. |
|
| Uses of Stringable in edu.neu.ccs.util |
| Methods in edu.neu.ccs.util that return Stringable | |
Stringable |
StringableFactory.getDefaultInstance()
Returns a new instance of the stored class created using the zero-parameter constructor for the class. |
Stringable |
StringableFactory.constructFrom(String data)
Returns a new instance of the stored class created using the zero-parameter constructor for the class, whose state is then set from the given String data. |
static Stringable |
StringableFactory.decodeTypeAndData(String data)
Returns a new Stringable object
constructed from the given String
that encapsulates the type and state information
of a previously existing Stringable object. |
static Stringable |
StringableFactory.constructFrom(Class dataType,
String data)
Constructs a new Stringable object
by constructing a default instance of the given type
and setting the state of the object to the state
encapsulated by the given String. |
| Methods in edu.neu.ccs.util with parameters of type Stringable | |
static String |
StringableFactory.encodeTypeAndData(Stringable obj)
Returns a String encapsulation
of the class and state information
for the given Stringable object. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||