Package com.globalmentor.model
Interface ModelViewable
-
@Deprecated public interface ModelViewable
Deprecated.Indicates an object allows multiple views to an underlying data model.Bound properties:
MODEL_VIEW_PROPERTY
(Integer
)- Indicates the data view has been changed.
- Author:
- Garret Wilson
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONFIGURATION_MODEL_VIEW
Deprecated.The view in which configuration and settings data is shown.static int
GRAPH_MODEL_VIEW
Deprecated.The view in which the data is shown in a graph structure.static int
LIST_MODEL_VIEW
Deprecated.The view in which a list of items is shown.static java.lang.String
MODEL_VIEW_PROPERTY
Deprecated.The name of the bound view property.static int
NO_MODEL_VIEW
Deprecated.Represents no view of the data.static int
SEQUENCE_MODEL_VIEW
Deprecated.The view in which a sequence of items is shown, perhaps as a card deck.static int
SOURCE_MODEL_VIEW
Deprecated.The view in which any source data used to generate the data is shown.static int
SUMMARY_MODEL_VIEW
Deprecated.The view in which the data is shown as a brief overview.static int
TREE_MODEL_VIEW
Deprecated.The view in which the data is shown in a tree structure.static int
WYSIWYG_MODEL_VIEW
Deprecated.The view in which the data is shown as it would be in its final form.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getDefaultModelView()
Deprecated.int
getModelView()
Deprecated.int[]
getSupportedModelViews()
Deprecated.boolean
isModelViewSupported(int modelView)
Deprecated.Determines whether this object supports the given data view.void
setModelView(int newView)
Deprecated.Sets the view of the data.
-
-
-
Field Detail
-
MODEL_VIEW_PROPERTY
static final java.lang.String MODEL_VIEW_PROPERTY
Deprecated.The name of the bound view property.
-
NO_MODEL_VIEW
static final int NO_MODEL_VIEW
Deprecated.Represents no view of the data. This should only be used for error conditions and when the data is not being viewed.- See Also:
- Constant Field Values
-
TREE_MODEL_VIEW
static final int TREE_MODEL_VIEW
Deprecated.The view in which the data is shown in a tree structure.- See Also:
- Constant Field Values
-
GRAPH_MODEL_VIEW
static final int GRAPH_MODEL_VIEW
Deprecated.The view in which the data is shown in a graph structure.- See Also:
- Constant Field Values
-
WYSIWYG_MODEL_VIEW
static final int WYSIWYG_MODEL_VIEW
Deprecated.The view in which the data is shown as it would be in its final form.- See Also:
- Constant Field Values
-
SEQUENCE_MODEL_VIEW
static final int SEQUENCE_MODEL_VIEW
Deprecated.The view in which a sequence of items is shown, perhaps as a card deck.- See Also:
- Constant Field Values
-
LIST_MODEL_VIEW
static final int LIST_MODEL_VIEW
Deprecated.The view in which a list of items is shown.- See Also:
- Constant Field Values
-
SUMMARY_MODEL_VIEW
static final int SUMMARY_MODEL_VIEW
Deprecated.The view in which the data is shown as a brief overview.- See Also:
- Constant Field Values
-
SOURCE_MODEL_VIEW
static final int SOURCE_MODEL_VIEW
Deprecated.The view in which any source data used to generate the data is shown.- See Also:
- Constant Field Values
-
CONFIGURATION_MODEL_VIEW
static final int CONFIGURATION_MODEL_VIEW
Deprecated.The view in which configuration and settings data is shown.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedModelViews
int[] getSupportedModelViews()
Deprecated.- Returns:
- An array of supported model views.
-
isModelViewSupported
boolean isModelViewSupported(int modelView)
Deprecated.Determines whether this object supports the given data view.- Parameters:
modelView
- A model view such asSUMMARY_MODEL_VIEW
.- Returns:
true
if and only if this object supports the indicated model view.
-
getDefaultModelView
int getDefaultModelView()
Deprecated.- Returns:
- The default view of the data, such as
SUMMARY_MODEL_VIEW
.
-
getModelView
int getModelView()
Deprecated.- Returns:
- The view of the data, such as
SUMMARY_MODEL_VIEW
.
-
setModelView
void setModelView(int newView)
Deprecated.Sets the view of the data.- Parameters:
newView
- The view of the data, such asSUMMARY_MODEL_VIEW
.- Throws:
java.lang.IllegalArgumentException
- Thrown if the given view is not supported.
-
-