Package org.jgrapes.webconsole.base
Class AbstractConlet.ConletTrackingInfo
java.lang.Object
org.jgrapes.webconsole.base.AbstractConlet.ConletTrackingInfo
- Enclosing class:
AbstractConlet<S>
The information tracked about web console components that are
used by the console.
It includes the component’s id and the currently rendered views (only preview and view are tracked, with “deletable preview” mapped to “preview”).
-
Constructor Summary
ConstructorDescriptionConletTrackingInfo
(String conletId) Instantiates a new conlet tracking info. -
Method Summary
Modifier and TypeMethodDescriptionaddModes
(Set<Conlet.RenderMode> modes) Adds the given modes.conletId()
Returns the conlet id.boolean
int
hashCode()
removeModes
(Set<Conlet.RenderMode> modes) Removes the given modes.The render modes current used.
-
Constructor Details
-
ConletTrackingInfo
Instantiates a new conlet tracking info.- Parameters:
conletId
- the conlet id
-
-
Method Details
-
conletId
Returns the conlet id.- Returns:
- the id
-
renderedAs
The render modes current used.- Returns:
- the render modes
-
addModes
Adds the given modes.- Parameters:
modes
- the modes- Returns:
- the conlet tracking info
-
removeModes
Removes the given modes.- Parameters:
modes
- the modes- Returns:
- the conlet tracking info
-
hashCode
-
equals
-