A B C D E F G H I L M N O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- actionPerformed() - Method in interface it.tidalwave.role.ui.UserAction
- ActionProvider - Interface in it.tidalwave.role.ui
- ActionProviderSupport - Class in it.tidalwave.role.ui.spi
- ActionProviderSupport() - Constructor for class it.tidalwave.role.ui.spi.ActionProviderSupport
- addGlobalContext(Object) - Method in interface it.tidalwave.role.ContextManager
-
Adds a global context.
- addGlobalContext(Object) - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Adds a global context.
- addLocalContext(Object) - Method in interface it.tidalwave.role.ContextManager
-
Adds a local context.
- addLocalContext(Object) - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Adds a local context.
- addPropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.ChangingSource
- addPropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.MutableDisplayable
-
Registers a
PropertyChangeListener
. - addPropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.MutableIconProvider
-
Registers a
PropertyChangeListener
. - addPropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.PresentationModel
-
Adds a
PropertyChangeListener
. - addPropertyChangeListener(PropertyChangeListener) - Method in class it.tidalwave.role.ui.spi.MutableIconProviderSupport
-
Registers a
PropertyChangeListener
. - addPropertyChangeListener(String, PropertyChangeListener) - Method in interface it.tidalwave.role.ui.PresentationModel
-
Adds a
PropertyChangeListener
for the given property. - Aggregate<T> - Interface in it.tidalwave.role
-
The role of an aggregate object, that is an object which contains other named objects.
- and(ChangingSource<Boolean>...) - Static method in class it.tidalwave.role.ui.function.AndFunction
- AndFunction - Class in it.tidalwave.role.ui.function
- AndFunction(ChangingSource<Boolean>...) - Constructor for class it.tidalwave.role.ui.function.AndFunction
- asComparing() - Static method in interface it.tidalwave.role.ui.Displayable
-
Returns a
Comparator
for comparing two instances of objects implementingAs
that contain theDisplayable
role. - AsObject - Annotation Type in it.tidalwave.role.annotation
- autoThreadBinding() - Method in annotation type it.tidalwave.dci.annotation.DciContext
-
If this attribute is true, all the methods of the annotated class will be executed with their instance as a context.
B
- BinaryReadable - Interface in it.tidalwave.role.io
-
The role of an object that can be read as a stream of bytes.
- BinaryWritable - Interface in it.tidalwave.role.io
-
The role of an object that can be written as a stream of bytes.
- bind(ChangingSource<T>) - Method in class it.tidalwave.role.ui.BoundProperty
-
Binds this property to a
ChangingSource
. - binder(Object...) - Method in interface it.tidalwave.role.ContextManager
-
Creates a binder that makes it possible to bind a local context by means of a try-with-resources instead of a try/finally.
- BooleanBoundFunctionSupport - Class in it.tidalwave.role.ui.function
- BooleanBoundFunctionSupport(ChangingSource<Boolean>...) - Constructor for class it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
- BoundFunction<DOMAIN_TYPE,CODOMAIN_TYPE> - Interface in it.tidalwave.role.ui.function
- BoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE> - Class in it.tidalwave.role.ui.function
- BoundFunctionSupport() - Constructor for class it.tidalwave.role.ui.function.BoundFunctionSupport
- BoundProperty<T> - Class in it.tidalwave.role.ui
- BoundProperty() - Constructor for class it.tidalwave.role.ui.BoundProperty
C
- CALLBACK_DISPOSE - Static variable in interface it.tidalwave.role.ui.PresentationModel
-
This is an undocumented feature.
- Changeable<T> - Interface in it.tidalwave.role.ui
-
The role of an object that can change its value.
- ChangingSource<T> - Interface in it.tidalwave.role.ui
- close() - Method in class it.tidalwave.role.ContextManager.Binder
- comparing() - Static method in interface it.tidalwave.role.ui.Displayable
-
Returns a
Comparator
for comparing two instances ofDisplayable
. - Composite<TYPE,SPECIALIZED_FINDER extends Finder<? extends TYPE>> - Interface in it.tidalwave.role
-
The role of a composite object, that is an object which contains children.
- Composite.Visitor<T,R> - Interface in it.tidalwave.role
- Composite.VisitorSupport<T,R> - Class in it.tidalwave.role
-
A support class for
Composite.Visitor
which provides default empty methods. - context() - Method in annotation type it.tidalwave.dci.annotation.DciRole
-
The context type to which this role is restricted.
- ContextManager - Interface in it.tidalwave.role
-
A facility to register and unregister global and local DCI contexts.
- ContextManager.Binder - Class in it.tidalwave.role
-
Used by
- ContextManager.Locator - Class in it.tidalwave.role
-
A locator for the
ContextManager
which uses theServiceLoader
facility to be independent of any DI framework. - ContextManager.RunnableWithException<E extends java.lang.Throwable> - Interface in it.tidalwave.role
- ContextManager.SupplierWithException<T,E extends java.lang.Throwable> - Interface in it.tidalwave.role
- ContextManagerProvider - Interface in it.tidalwave.role.spi
- ContextSampler - Class in it.tidalwave.role.spi
-
A facility that samples the contexts that are current at creation time and make them available later.
- ContextSampler(Object) - Constructor for class it.tidalwave.role.spi.ContextSampler
-
Creates a new instance and samples the currently available contexts.
- copyIfEmptyOrConform(ChangingSource<String>) - Static method in class it.tidalwave.role.ui.function.CopyIfEmptyOrConform
- CopyIfEmptyOrConform - Class in it.tidalwave.role.ui.function
- CopyIfEmptyOrConform(ChangingSource<String>) - Constructor for class it.tidalwave.role.ui.function.CopyIfEmptyOrConform
- createId() - Method in interface it.tidalwave.role.IdFactory
-
Creates a new id.
- createId(Class<?>) - Method in interface it.tidalwave.role.IdFactory
-
Creates a new id for an object of the given class.
- createId(Class<?>, Object) - Method in interface it.tidalwave.role.IdFactory
-
Creates a new id for the given object of the given class.
- createPresentationModel() - Method in interface it.tidalwave.role.ui.Presentable
-
Creates a
PresentationModel
. - createPresentationModel(Object) - Method in interface it.tidalwave.role.ui.Presentable
-
Creates a
PresentationModel
with a single role. - createPresentationModel(Object) - Method in interface it.tidalwave.role.ui.PresentationModelFactory
-
Creates a new instance of
PresentationModel
. - createPresentationModel(Object, Collection<Object>) - Method in interface it.tidalwave.role.ui.PresentationModelFactory
-
Creates a new instance of
PresentationModel
with some roles or role factories. - createPresentationModel(Object, Collection<Object>) - Method in class it.tidalwave.role.ui.spi.DefaultPresentationModelFactory
-
Creates a new instance of
PresentationModel
with some roles or role factories. - createPresentationModel(Collection<Object>) - Method in interface it.tidalwave.role.ui.Presentable
-
Creates a
PresentationModel
with some roles. - createPresentationModel(Collection<Object>) - Method in class it.tidalwave.role.ui.spi.SimpleCompositePresentable
-
Creates a
PresentationModel
with some roles.
D
- datumType() - Method in annotation type it.tidalwave.dci.annotation.DciRole
-
The datum type to which this role can be associated.
- DciContext - Annotation Type in it.tidalwave.dci.annotation
-
An annotation for DCI Contexts.
- DciRole - Annotation Type in it.tidalwave.dci.annotation
-
Designates a DCI role implementation for a given owner object.
- DciRole.NoContext - Class in it.tidalwave.dci.annotation
- DEFAULT - Static variable in interface it.tidalwave.role.Composite
-
A default
Composite
with no children. - DEFAULT - Static variable in interface it.tidalwave.role.io.BinaryReadable
-
A default implementation which throws
IOException
when opening the stream. - DEFAULT - Static variable in interface it.tidalwave.role.io.BinaryWritable
-
A default implementation which throws
IOException
when opening the stream. - DEFAULT - Static variable in interface it.tidalwave.role.io.TextReadable
-
A default implementation which throws
IOException
when opening the stream. - DEFAULT - Static variable in interface it.tidalwave.role.io.TextWritable
-
A default implementation which throws
IOException
when opening the stream. - DEFAULT - Static variable in interface it.tidalwave.role.Removable
-
A default
Removable
which does nothing (useful for implementing the NullObject pattern). - DEFAULT - Static variable in interface it.tidalwave.role.Sortable
-
A default
Sortable
which does nothing (useful for implementing the NullObject pattern). - DEFAULT - Static variable in interface it.tidalwave.role.ui.Displayable
-
A default
Displayable
with an empty display name. - DEFAULT - Static variable in interface it.tidalwave.role.ui.IconProvider
-
A default
IconProvider
with an empty icon. - DefaultContextManager - Class in it.tidalwave.role.spi
- DefaultContextManager() - Constructor for class it.tidalwave.role.spi.DefaultContextManager
- DefaultContextManagerProvider - Class in it.tidalwave.role.spi
- DefaultContextManagerProvider() - Constructor for class it.tidalwave.role.spi.DefaultContextManagerProvider
- DefaultPresentationModelFactory - Class in it.tidalwave.role.ui.spi
-
An implementation of
PresentationModelFactory
that creates instances ofDefaultPresentationModel
. - DefaultPresentationModelFactory() - Constructor for class it.tidalwave.role.ui.spi.DefaultPresentationModelFactory
- DefaultUserActionProvider - Class in it.tidalwave.role.ui.spi
-
A default implementation of
UserActionProvider
which returns no actions. - DefaultUserActionProvider() - Constructor for class it.tidalwave.role.ui.spi.DefaultUserActionProvider
- Displayable - Interface in it.tidalwave.role.ui
-
The role of an object which can provide its own display name.
- dispose() - Method in interface it.tidalwave.role.ui.PresentationModel
-
Disposes this object.
E
- empty() - Static method in interface it.tidalwave.role.ui.PresentationModel
-
Returns an empty instance (no roles, with the exception of a dummy
Displayable
). - enabled() - Method in interface it.tidalwave.role.ui.UserAction
-
Returns the property describing the enabled status of this action.
F
- find() - Static method in class it.tidalwave.role.ContextManager.Locator
- find() - Static method in class it.tidalwave.role.spi.RoleManager.Locator
- findChildren() - Method in interface it.tidalwave.role.Composite
-
Returns the children of this object.
- findContextOfType(Class<T>) - Method in interface it.tidalwave.role.ContextManager
-
Finds a current context instance of the given type.
- findContextOfType(Class<T>) - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Finds a current context instance of the given type.
- findContextTypeForRole(Class<?>) - Method in class it.tidalwave.role.spi.RoleManagerSupport
-
Returns the type of the context associated to the given role implementation type.
- findDatumTypesForRole(Class<?>) - Method in class it.tidalwave.role.spi.RoleManagerSupport
-
Returns the valid datum types for the given role implementation type.
- findRoles(Object, Class<ROLE_TYPE>) - Method in class it.tidalwave.role.spi.RoleManagerSupport
-
Retrieves the roles of the given class for the given owner object.
- findRoles(Object, Class<T>) - Method in interface it.tidalwave.role.spi.RoleManager
-
Retrieves the roles of the given class for the given owner object.
- finisher() - Method in class it.tidalwave.role.ui.spi.PresentationModelCollectors
- fireIconChange(Icon, Icon) - Method in class it.tidalwave.role.ui.spi.MutableIconProviderSupport
-
Fires the event notifying that
MutableIconProvider.PROP_ICON
has been changed. - fireValueChanged(boolean, boolean) - Method in class it.tidalwave.role.ui.function.BoundFunctionSupport
- fireValueChanged(CODOMAIN_TYPE, CODOMAIN_TYPE) - Method in class it.tidalwave.role.ui.function.BoundFunctionSupport
- fromBundle(Class<?>, String) - Static method in interface it.tidalwave.role.ui.Displayable
-
Creates a
LocalizedDisplayable
from a resource bundle. - function() - Method in class it.tidalwave.role.ui.function.AndFunction
- function() - Method in class it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
- function() - Method in class it.tidalwave.role.ui.function.OrFunction
- function(DOMAIN_TYPE) - Method in class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
- function(String) - Method in class it.tidalwave.role.ui.function.NonEmptyFunction
- function(T) - Method in class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
G
- get() - Method in interface it.tidalwave.role.ContextManager.SupplierWithException
- get() - Method in class it.tidalwave.role.ui.BoundProperty
-
Returns the value of this object.
- get() - Method in interface it.tidalwave.role.ui.ChangingSource
-
Returns the value of this object.
- get() - Method in class it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
- get() - Method in class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
- getActions() - Method in interface it.tidalwave.role.ui.ActionProvider
- getActions() - Method in class it.tidalwave.role.ui.spi.ActionProviderSupport
- getActions() - Method in class it.tidalwave.role.ui.spi.DefaultUserActionProvider
-
Returns a collection of
UserAction
s. - getActions() - Method in interface it.tidalwave.role.ui.UserActionProvider
-
Returns a collection of
UserAction
s. - getBean(Class<T>) - Method in class it.tidalwave.role.spi.RoleManagerSupport
-
Retrieves an extra bean.
- getByName(String) - Method in interface it.tidalwave.role.Aggregate
-
Returns an object given its name.
- getByName(String) - Method in class it.tidalwave.role.ui.PresentationModelAggregate
-
Returns an object given its name.
- getContextManager() - Method in interface it.tidalwave.role.spi.ContextManagerProvider
- getContexts() - Method in interface it.tidalwave.role.ContextManager
-
Returns the list of current contexts, ordered by their priority.
- getContexts() - Method in class it.tidalwave.role.spi.ContextSampler
-
Returns the previously sampled contexts.
- getContexts() - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Returns the list of current contexts, ordered by their priority.
- getDefaultAction() - Method in interface it.tidalwave.role.ui.ActionProvider
- getDefaultAction() - Method in class it.tidalwave.role.ui.spi.ActionProviderSupport
- getDefaultAction() - Method in class it.tidalwave.role.ui.spi.DefaultUserActionProvider
-
Returns the default action, if available.
- getDefaultAction() - Method in interface it.tidalwave.role.ui.UserActionProvider
-
Deprecated.
- getDisplayName() - Method in interface it.tidalwave.role.ui.Displayable
-
Returns the display name in the current
Locale
. - getDisplayName(Locale) - Method in interface it.tidalwave.role.ui.LocalizedDisplayable
-
Returns the display name in the given
Locale
. - getDisplayNames() - Method in interface it.tidalwave.role.ui.LocalizedDisplayable
-
Returns all the display names in
Map
where they are indexed byLocale
. - getIcon(int) - Method in interface it.tidalwave.role.ui.IconProvider
-
Returns the icon for this object.
- getId() - Method in interface it.tidalwave.role.Identifiable
-
Returns the identifier.
- getLocales() - Method in interface it.tidalwave.role.ui.LocalizedDisplayable
-
Returns the supported
Locale
s. - getNames() - Method in interface it.tidalwave.role.Aggregate
-
Returns the names of contained objects.
- getNames() - Method in class it.tidalwave.role.ui.PresentationModelAggregate
-
Returns the names of contained objects.
- getOptionalDefaultAction() - Method in interface it.tidalwave.role.ui.UserActionProvider
-
Returns the default action, if available.
- getPropertyChangeListeners() - Method in interface it.tidalwave.role.ui.ChangingSource
- getPropertyChangeListeners() - Method in interface it.tidalwave.role.ui.PresentationModel
-
Returns all the bound
PropertyChangeListener
s. - getPropertyChangeListeners(String) - Method in interface it.tidalwave.role.ui.PresentationModel
-
Returns the bound
PropertyChangeListener
s for the given property. - getRoleManager() - Method in interface it.tidalwave.role.spi.RoleManagerProvider
- getSortCriterion() - Method in interface it.tidalwave.role.Sortable
-
Returns the current sort criterion.
- getSortDirection() - Method in interface it.tidalwave.role.Sortable
-
Returns the current sort direction.
- getStyles() - Method in interface it.tidalwave.role.ui.Styleable
- getValue() - Method in interface it.tidalwave.role.Composite.Visitor
-
Returns the value of this visitor.
- getValue() - Method in class it.tidalwave.role.Composite.VisitorSupport
-
Returns the value of this visitor.
H
- hasListeners(String) - Method in interface it.tidalwave.role.ui.PresentationModel
-
Checks whether the given property has been bound to listeners.
- HtmlRenderable - Interface in it.tidalwave.role
-
The role of an object that can be rendered into a
String
as HTML markup.
I
- IconProvider - Interface in it.tidalwave.role.ui
-
The role of an object that can provide an icon for rendering.
- Identifiable - Interface in it.tidalwave.role
-
The role of an object that can expose a unique identifier.
- IdFactory - Interface in it.tidalwave.role
-
A factory for creating a new, unique
Id
for an object. - INVISIBLE - Static variable in interface it.tidalwave.role.ui.Visible
-
A role that is always invisible.
- isVisible() - Method in interface it.tidalwave.role.ui.Visible
-
Returns the current visibility status.
- it.tidalwave.dci.annotation - package it.tidalwave.dci.annotation
- it.tidalwave.role - package it.tidalwave.role
- it.tidalwave.role.annotation - package it.tidalwave.role.annotation
- it.tidalwave.role.io - package it.tidalwave.role.io
- it.tidalwave.role.io.spi - package it.tidalwave.role.io.spi
- it.tidalwave.role.spi - package it.tidalwave.role.spi
- it.tidalwave.role.ui - package it.tidalwave.role.ui
- it.tidalwave.role.ui.function - package it.tidalwave.role.ui.function
- it.tidalwave.role.ui.spi - package it.tidalwave.role.ui.spi
L
- LocalizedDisplayable - Interface in it.tidalwave.role.ui
-
A specialized
Displayable
which can manage names in multipleLocale
s. - Locator() - Constructor for class it.tidalwave.role.ContextManager.Locator
- Locator() - Constructor for class it.tidalwave.role.spi.RoleManager.Locator
- logRoles() - Method in class it.tidalwave.role.spi.RoleManagerSupport
M
- marshal(OutputStream) - Method in interface it.tidalwave.role.io.Marshallable
-
Marshals this object to an
OutputStream
. - Marshallable - Interface in it.tidalwave.role.io
-
The role of an object that can be marshalled to an
OutputStream
. - MutableDisplayable - Interface in it.tidalwave.role.ui
-
A specialized
Displayable
which is mutable (that is, its display name can be changed) and firesPropertyChangeEvent
s. - MutableIconProvider - Interface in it.tidalwave.role.ui
-
A specialized
IconProvider
which is mutable and firesPropertyChangeEvent
s. - MutableIconProviderSupport - Class in it.tidalwave.role.ui.spi
-
A convenient support for implementing a
MutableIconProvider
. - MutableIconProviderSupport() - Constructor for class it.tidalwave.role.ui.spi.MutableIconProviderSupport
- MutableLocalizedDisplayable - Interface in it.tidalwave.role.ui
-
A specialized
LocalizedDisplayable
which is mutable.
N
- newInstance() - Static method in interface it.tidalwave.role.Aggregate
-
Returns a new empty instance that will be populated by means of
Aggregate.with(String, Object)
. - newInstance() - Static method in class it.tidalwave.role.ui.PresentationModelAggregate
-
Creates a new, empty instance.
- NoContext() - Constructor for class it.tidalwave.dci.annotation.DciRole.NoContext
- nonEmpty(ChangingSource<String>) - Static method in class it.tidalwave.role.ui.function.NonEmptyFunction
- NonEmptyFunction - Class in it.tidalwave.role.ui.function
- NonEmptyFunction(ChangingSource<String>) - Constructor for class it.tidalwave.role.ui.function.NonEmptyFunction
O
- of(UserAction...) - Static method in interface it.tidalwave.role.ui.UserActionProvider
-
Factory method which creates an instance out of an array of
UserAction
s. - of(Callback) - Static method in interface it.tidalwave.role.ui.UserAction
-
Creates a new instance out of a callback.
- of(Callback, Object) - Static method in interface it.tidalwave.role.ui.UserAction
-
Creates a new instance out of a callback and a role (typically a
Displayable
. - of(Callback, Collection<Object>) - Static method in interface it.tidalwave.role.ui.UserAction
-
Creates a new instance out of a callback and a collection of roles.
- of(Finder<TYPE>) - Static method in interface it.tidalwave.role.SimpleComposite
-
Returns a wrapped
SimpleComposite
on a givenFinder
- of(Id) - Static method in interface it.tidalwave.role.Identifiable
-
Returns a default instance which returns the given idr.
- of(Object) - Static method in interface it.tidalwave.role.ui.Presentable
-
Creates a default
Presentable
for the given object. - of(Object) - Static method in interface it.tidalwave.role.ui.PresentationModel
-
Creates an instance given an owner and no roles.
- of(Object, Object) - Static method in interface it.tidalwave.role.ui.PresentationModel
-
Creates an instance given an owner and a single role.
- of(Object, Collection<Object>) - Static method in interface it.tidalwave.role.ui.PresentationModel
-
Creates an instance given an owner and multiple roles.
- of(String) - Static method in interface it.tidalwave.role.ui.Displayable
-
Creates an instance with a given display name.
- of(String) - Static method in interface it.tidalwave.role.ui.MutableDisplayable
-
Creates an instance with an initial given display name in
Locale.ENGLISH
. - of(String) - Static method in interface it.tidalwave.role.ui.MutableLocalizedDisplayable
-
Creates an instance with an initial given display name in
Locale.ENGLISH
. - of(String...) - Static method in interface it.tidalwave.role.ui.Styleable
-
Creates a new instance from a collection of strings
- of(String, String) - Static method in interface it.tidalwave.role.ui.Displayable
-
Creates an instance with a given display name iand an explicit label for
toString()
. - of(String, String) - Static method in interface it.tidalwave.role.ui.MutableDisplayable
-
Creates an instance with an initial given display name in
Locale.ENGLISH
and an explicit identifier fortoString()
. - of(String, String) - Static method in interface it.tidalwave.role.ui.MutableLocalizedDisplayable
-
Creates an instance with an initial given display name in
Locale.ENGLISH
and an explicit identifier fortoString()
. - of(String, T) - Static method in interface it.tidalwave.role.Aggregate
-
Returns a new instance with the specified (name, value) pair.
- of(Collection<String>) - Static method in interface it.tidalwave.role.ui.Styleable
-
Creates a new instance from a collection of strings
- of(Function<T, String>, T) - Static method in interface it.tidalwave.role.ui.Displayable
-
Creates an instance from a
Function
<T, String>
and a generic object that the function is applied to. - of(Supplier<String>) - Static method in interface it.tidalwave.role.ui.Displayable
-
Creates an instance from a
Supplier
<String>
. - of(Map<String, T>) - Static method in interface it.tidalwave.role.Aggregate
-
Returns a new instance with the specified (name, value) pairs.
- of(T) - Static method in class it.tidalwave.role.ui.BoundProperty
-
Creates a new
BoundProperty
with the given initial value. - ofCloned(Collection<TYPE>) - Static method in interface it.tidalwave.role.SimpleComposite
-
Returns a wrapped
SimpleComposite
on a given collection of elements. - ofMaybePresentable(As) - Static method in interface it.tidalwave.role.ui.PresentationModel
-
Creates an instance from an owner which might have the
Presentable
role. - ofMaybePresentable(As, Collection<Object>) - Static method in interface it.tidalwave.role.ui.PresentationModel
-
Creates an instance from an owner which might have the
Presentable
role. - onSourceChange(DOMAIN_TYPE, DOMAIN_TYPE) - Method in class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
- onSourceChange(String, String) - Method in class it.tidalwave.role.ui.function.NonEmptyFunction
- onSourceChange(T, T) - Method in class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
- openReader() - Method in class it.tidalwave.role.io.spi.PathTextReadable
-
Returns a
Reader
to read from the object. - openReader() - Method in interface it.tidalwave.role.io.TextReadable
-
Returns a
Reader
to read from the object. - openStream() - Method in interface it.tidalwave.role.io.BinaryReadable
-
Returns an
InputStream
to read from the object. - openStream() - Method in interface it.tidalwave.role.io.BinaryWritable
-
Returns an
OutputStream
to write into the object. - openStream() - Method in class it.tidalwave.role.io.spi.PathBinaryReadable
-
Returns an
InputStream
to read from the object. - openStream() - Method in class it.tidalwave.role.io.spi.PathBinaryWritable
-
Returns an
OutputStream
to write into the object. - openWriter() - Method in class it.tidalwave.role.io.spi.PathTextWritable
-
Returns a
Writer
to write into the object. - openWriter() - Method in interface it.tidalwave.role.io.TextWritable
-
Returns a
Writer
to write into the object. - or(ChangingSource<Boolean>...) - Static method in class it.tidalwave.role.ui.function.OrFunction
- OrFunction - Class in it.tidalwave.role.ui.function
- OrFunction(ChangingSource<Boolean>...) - Constructor for class it.tidalwave.role.ui.function.OrFunction
P
- PathBinaryReadable - Class in it.tidalwave.role.io.spi
-
An implementation of
BinaryReadable
which delegates to aPath
. - PathBinaryReadable(Path, OpenOption...) - Constructor for class it.tidalwave.role.io.spi.PathBinaryReadable
-
Creates an instance with the given path and options.
- PathBinaryWritable - Class in it.tidalwave.role.io.spi
-
An implementation of
BinaryWritable
which delegates to aPath
. - PathBinaryWritable(Path, OpenOption...) - Constructor for class it.tidalwave.role.io.spi.PathBinaryWritable
-
Creates an instance with the given path and options.
- PathTextReadable - Class in it.tidalwave.role.io.spi
-
An implementation of
TextReadable
which delegates to aPath
. - PathTextReadable(Path) - Constructor for class it.tidalwave.role.io.spi.PathTextReadable
-
Creates an instance with the given path and options.
- PathTextReadable(Path, Charset) - Constructor for class it.tidalwave.role.io.spi.PathTextReadable
-
Creates an instance with the given path and options.
- PathTextWritable - Class in it.tidalwave.role.io.spi
-
An implementation of
TextWritable
which delegates to aPath
. - PathTextWritable(Path) - Constructor for class it.tidalwave.role.io.spi.PathTextWritable
-
Creates an instance with the given path and options.
- PathTextWritable(Path, Charset, OpenOption...) - Constructor for class it.tidalwave.role.io.spi.PathTextWritable
-
Creates an instance with the given path and options.
- persist() - Method in interface it.tidalwave.role.io.Persistable
-
Persists this object to some implicit, or context-provided persistence facility.
- Persistable - Interface in it.tidalwave.role.io
-
The role of an object that can be persisted.
- PlainTextRenderable - Interface in it.tidalwave.role
-
The role of an object that can be rendered into a
String
as plain text. - postVisit(T) - Method in interface it.tidalwave.role.Composite.Visitor
-
Visits an object.
- postVisit(T) - Method in class it.tidalwave.role.Composite.VisitorSupport
-
Visits an object.
- Presentable - Interface in it.tidalwave.role.ui
-
The role of an object that can be presented on a UI, thus is capable of creating a
PresentationModel
. - PresentationModel - Interface in it.tidalwave.role.ui
-
TODO: As the NetBeans Node, it should allow children, have event listeners for children added/removed/changed.
- PresentationModel - Static variable in interface it.tidalwave.role.ui.PresentationModel
- PresentationModelAggregate - Class in it.tidalwave.role.ui
-
A specialisation of
Aggregate
<PresentationModel>
which offers a convenience method for aggregating its contained objects. - PresentationModelAggregate() - Constructor for class it.tidalwave.role.ui.PresentationModelAggregate
- PresentationModelCollectors - Class in it.tidalwave.role.ui.spi
-
A
Collector
which collects aStream
ofPresentationModel
s into a singlePresentationModel
with aComposite<PresentationModel>
role containing them. - PresentationModelFactory - Interface in it.tidalwave.role.ui
-
A factory that creates a default
PresentationModel
. - preVisit(T) - Method in interface it.tidalwave.role.Composite.Visitor
-
Visits an object.
- preVisit(T) - Method in class it.tidalwave.role.Composite.VisitorSupport
-
Visits an object.
- PROP_DISPLAY_NAME - Static variable in interface it.tidalwave.role.ui.MutableDisplayable
-
The property name for displayName
- PROP_DISPLAY_NAMES - Static variable in interface it.tidalwave.role.ui.MutableDisplayable
-
The property name for displayNames
- PROP_ICON - Static variable in interface it.tidalwave.role.ui.MutableIconProvider
-
The property name for icon.
- PROP_VALUE - Static variable in class it.tidalwave.role.ui.BoundProperty
- PROPERTY_CHILDREN - Static variable in interface it.tidalwave.role.ui.PresentationModel
R
- Removable - Interface in it.tidalwave.role
-
The role of an object that can be removed (e.g.
- remove() - Method in interface it.tidalwave.role.Removable
-
Removes this object from some implicit, or context-provided container (e.g.
- removeGlobalContext(Object) - Method in interface it.tidalwave.role.ContextManager
-
Removes a global context.
- removeGlobalContext(Object) - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Removes a global context.
- removeLocalContext(Object) - Method in interface it.tidalwave.role.ContextManager
-
Removes a local context.
- removeLocalContext(Object) - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Removes a local context.
- removePropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.ChangingSource
- removePropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.MutableDisplayable
-
Unregisters a
PropertyChangeListener
. - removePropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.MutableIconProvider
-
Unregisters a
PropertyChangeListener
. - removePropertyChangeListener(PropertyChangeListener) - Method in interface it.tidalwave.role.ui.PresentationModel
-
Removes a
PropertyChangeListener
. - removePropertyChangeListener(PropertyChangeListener) - Method in class it.tidalwave.role.ui.spi.MutableIconProviderSupport
-
Unregisters a
PropertyChangeListener
. - removePropertyChangeListener(String, PropertyChangeListener) - Method in interface it.tidalwave.role.ui.PresentationModel
-
Removes a
PropertyChangeListener
for the given property. - render(Object...) - Method in interface it.tidalwave.role.StringRenderable
-
Renders the attached object into a
String
. - renderTo(PrintWriter, Object...) - Method in interface it.tidalwave.role.PlainTextRenderable
- renderTo(PrintWriter, Object...) - Method in interface it.tidalwave.role.StringRenderable
-
Renders the attached object printing to a
PrintWriter
. - renderTo(StringBuilder, Object...) - Method in interface it.tidalwave.role.PlainTextRenderable
- renderTo(StringBuilder, Object...) - Method in interface it.tidalwave.role.StringRenderable
-
Renders the attached object appending to a
StringBuilder
. - reset() - Static method in class it.tidalwave.role.ContextManager.Locator
-
This method is for testing only. Resets the global
ContextManagerProvider
; it must be called at the test completion wheneverContextManager.Locator.set(ContextManagerProvider)
has been called, to avoid polluting the context of further tests. - RoleManager - Interface in it.tidalwave.role.spi
-
A service which retrieves DCI Roles for a given object.
- RoleManager.Locator - Class in it.tidalwave.role.spi
-
A locator for the
RoleManager
which uses theServiceLoader
facility to be independent of any DI framework. - RoleManagerProvider - Interface in it.tidalwave.role.spi
- RoleManagerSupport - Class in it.tidalwave.role.spi
-
A basic implementation of a
RoleManager
. - RoleManagerSupport() - Constructor for class it.tidalwave.role.spi.RoleManagerSupport
- run() - Method in interface it.tidalwave.role.ContextManager.RunnableWithException
- runEWithContexts(ContextManager.RunnableWithException<E>, Object...) - Method in interface it.tidalwave.role.ContextManager
-
Calls a runnable with some local contexts.
- runEWithContexts(ContextManager.SupplierWithException<T, E>, Object...) - Method in interface it.tidalwave.role.ContextManager
-
Calls a task with some local contexts.
- runEWithContexts(ContextManager.SupplierWithException<T, E>, Object...) - Method in class it.tidalwave.role.spi.DefaultContextManager
-
Calls a task with some local contexts.
- runWithContext(Object, Task<V, T>) - Method in interface it.tidalwave.role.ContextManager
- runWithContext(Object, Supplier<V>) - Method in interface it.tidalwave.role.ContextManager
- runWithContexts(Task<V, T>) - Method in class it.tidalwave.role.spi.ContextSampler
-
Runs a
Task
associated with the sampled contexts. - runWithContexts(Runnable, Object...) - Method in interface it.tidalwave.role.ContextManager
-
Calls a runnable with some local contexts.
- runWithContexts(Supplier<T>, Object...) - Method in interface it.tidalwave.role.ContextManager
-
Calls a supplier with some local contexts.
- runWithContexts(List<Object>, Task<V, T>) - Method in interface it.tidalwave.role.ContextManager
- runWithContexts(List<Object>, Supplier<V>) - Method in interface it.tidalwave.role.ContextManager
S
- scan(Collection<Class<?>>) - Method in class it.tidalwave.role.spi.RoleManagerSupport
-
Scans all the given role implementation classes and build a map of roles by owner class.
- select() - Method in interface it.tidalwave.role.ui.Selectable
-
Performs the selection.
- Selectable - Interface in it.tidalwave.role.ui
-
A role providing the capability of being selected.
- set(ContextManagerProvider) - Static method in class it.tidalwave.role.ContextManager.Locator
-
This method is for testing only. Sets the global
ContextManagerProvider
. - set(T) - Method in class it.tidalwave.role.ui.BoundProperty
-
Sets a new value to this object.
- set(T) - Method in interface it.tidalwave.role.ui.Changeable
-
Sets a new value to this object.
- set(T) - Method in class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
- setDisplayName(String) - Method in interface it.tidalwave.role.ui.MutableDisplayable
-
Sets the display name in
Locale.ENGLISH
. - setDisplayName(String, Locale) - Method in interface it.tidalwave.role.ui.MutableDisplayable
-
Sets the display name in the given
Locale
. - setDisplayNames(Map<Locale, String>) - Method in interface it.tidalwave.role.ui.MutableDisplayable
-
Sets a bag of display names for a number of
Locale
s. - setIcon(Icon) - Method in interface it.tidalwave.role.ui.MutableIconProvider
-
Sets the icon.
- setIcon(Icon) - Method in class it.tidalwave.role.ui.spi.MutableIconProviderSupport
-
Sets the icon.
- setSortCriterion(Finder.SortCriterion) - Method in interface it.tidalwave.role.Sortable
-
Sets the sort criterion.
- setSortDirection(Finder.SortDirection) - Method in interface it.tidalwave.role.Sortable
-
Sets the sort direction.
- shouldChange(String, String) - Method in class it.tidalwave.role.ui.function.CopyIfEmptyOrConform
- shouldChange(T, T) - Method in class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
- SimpleComposite<TYPE> - Interface in it.tidalwave.role
- SimpleCompositePresentable - Class in it.tidalwave.role.ui.spi
-
An implementation of
Presentable
for datum instances having theSimpleComposite
role. - SimpleCompositePresentable(As) - Constructor for class it.tidalwave.role.ui.spi.SimpleCompositePresentable
- SimpleCompositePresentable(As, PresentationModelFactory) - Constructor for class it.tidalwave.role.ui.spi.SimpleCompositePresentable
- Sortable - Interface in it.tidalwave.role
-
The role of an object that has contents that can be sorted.
- source - Variable in class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
- sources - Variable in class it.tidalwave.role.ui.function.BooleanBoundFunctionSupport
- StringRenderable - Interface in it.tidalwave.role
-
The role of an object that can be rendered into a
String
as HTML markup. - Styleable - Interface in it.tidalwave.role.ui
-
A role which declares a set of styles for rendering.
T
- targetValue - Variable in class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
- TextReadable - Interface in it.tidalwave.role.io
-
The role of an object that can be read as a stream of characters.
- TextWritable - Interface in it.tidalwave.role.io
-
The role of an object that can be written as a stream of characters.
- toCompositePresentationModel() - Static method in class it.tidalwave.role.ui.spi.PresentationModelCollectors
- toCompositePresentationModel(Iterable<T>) - Static method in class it.tidalwave.role.ui.spi.PresentationModelCollectors
-
A facility simplified version of
PresentationModelCollectors.toCompositePresentationModel(java.lang.Iterable, java.util.function.Function)
. - toCompositePresentationModel(Iterable<T>, Function<T, Object>) - Static method in class it.tidalwave.role.ui.spi.PresentationModelCollectors
-
A facility method that creates a composite
PresentationModel
out of an iterable (which means an array, a collection or a stream) of objects implementingAs
. - toCompositePresentationModel(Collection<Object>) - Static method in class it.tidalwave.role.ui.spi.PresentationModelCollectors
-
A
Collector
which collects aStream
ofPresentationModel
s into a singlePresentationModel
with aComposite
role containing them.
U
- UnaryBoundFunctionSupport<DOMAIN_TYPE,CODOMAIN_TYPE> - Class in it.tidalwave.role.ui.function
- UnaryBoundFunctionSupport(ChangingSource<DOMAIN_TYPE>) - Constructor for class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
- unbindAll() - Method in class it.tidalwave.role.ui.BoundProperty
-
Removes all the bindings of this object.
- unbindAll() - Method in interface it.tidalwave.role.ui.ChangingSource
-
Removes all the bindings of this object.
- unbindAll() - Method in class it.tidalwave.role.ui.function.BoundFunctionSupport
-
Removes all the bindings of this object.
- unmarshal(InputStream) - Method in interface it.tidalwave.role.io.Unmarshallable
-
Unmarshalls the object from the given
InputStream
. - Unmarshallable - Interface in it.tidalwave.role.io
-
The role of an object that can be unmarshalled.
- UserAction - Interface in it.tidalwave.role.ui
- UserActionProvider - Interface in it.tidalwave.role.ui
-
A role that provides
UserAction
s.
V
- value - Variable in class it.tidalwave.role.ui.function.UnaryBoundFunctionSupport
- Visible - Interface in it.tidalwave.role.ui
-
The role of an object that can be visible or not.
- VISIBLE - Static variable in interface it.tidalwave.role.ui.Visible
-
A role that is always visible.
- visit(T) - Method in interface it.tidalwave.role.Composite.Visitor
-
Visits an object.
- visit(T) - Method in class it.tidalwave.role.Composite.VisitorSupport
-
Visits an object.
- VisitorSupport() - Constructor for class it.tidalwave.role.Composite.VisitorSupport
W
- WeakCopyFunctionSupport<T> - Class in it.tidalwave.role.ui.function
-
Changes the destination only at a certain condition in function of the target.
- WeakCopyFunctionSupport(ChangingSource<T>) - Constructor for class it.tidalwave.role.ui.function.WeakCopyFunctionSupport
- with(String, T) - Method in interface it.tidalwave.role.Aggregate
-
Returns a new instance with the specified (name, value) pair.
- withPmOf(String, Collection<Object>) - Method in class it.tidalwave.role.ui.PresentationModelAggregate
-
Adds another
PresentationModel
with the given roles, associated to the given name.
_
- _ActionProvider_ - Static variable in interface it.tidalwave.role.ui.ActionProvider
- _Aggregate_ - Static variable in interface it.tidalwave.role.Aggregate
- _BinaryReadable_ - Static variable in interface it.tidalwave.role.io.BinaryReadable
- _BinaryWritable_ - Static variable in interface it.tidalwave.role.io.BinaryWritable
- _Composite_ - Static variable in interface it.tidalwave.role.Composite
- _Displayable_ - Static variable in interface it.tidalwave.role.ui.Displayable
- _HtmlRenderable_ - Static variable in interface it.tidalwave.role.HtmlRenderable
- _IconProvider_ - Static variable in interface it.tidalwave.role.ui.IconProvider
- _Identifiable_ - Static variable in interface it.tidalwave.role.Identifiable
- _IdFactory_ - Static variable in interface it.tidalwave.role.IdFactory
- _LocalizedDisplayable_ - Static variable in interface it.tidalwave.role.ui.LocalizedDisplayable
- _Marshallable_ - Static variable in interface it.tidalwave.role.io.Marshallable
- _MutableDisplayable_ - Static variable in interface it.tidalwave.role.ui.MutableDisplayable
- _MutableIconProvider_ - Static variable in interface it.tidalwave.role.ui.MutableIconProvider
- _MutableLocalizedDisplayable_ - Static variable in interface it.tidalwave.role.ui.MutableLocalizedDisplayable
- _Persistable_ - Static variable in interface it.tidalwave.role.io.Persistable
- _PlainTextRenderable_ - Static variable in interface it.tidalwave.role.PlainTextRenderable
- _Presentable_ - Static variable in interface it.tidalwave.role.ui.Presentable
- _PresentationModelFactory_ - Static variable in interface it.tidalwave.role.ui.PresentationModelFactory
- _Removable_ - Static variable in interface it.tidalwave.role.Removable
- _Selectable_ - Static variable in interface it.tidalwave.role.ui.Selectable
- _SimpleComposite_ - Static variable in interface it.tidalwave.role.SimpleComposite
- _Sortable_ - Static variable in interface it.tidalwave.role.Sortable
- _StringRenderable_ - Static variable in interface it.tidalwave.role.StringRenderable
- _Styleable_ - Static variable in interface it.tidalwave.role.ui.Styleable
- _TextReadable_ - Static variable in interface it.tidalwave.role.io.TextReadable
- _TextWritable_ - Static variable in interface it.tidalwave.role.io.TextWritable
- _Unmarshallable_ - Static variable in interface it.tidalwave.role.io.Unmarshallable
- _UserAction_ - Static variable in interface it.tidalwave.role.ui.UserAction
- _UserActionProvider_ - Static variable in interface it.tidalwave.role.ui.UserActionProvider
- _Visible_ - Static variable in interface it.tidalwave.role.ui.Visible
All Classes All Packages