ViewerState
can be modified directly.
(See ViewerPanel.state()
.)
Manage visibility and currentness of sources and groups, as well as grouping
of sources, and display mode.@Deprecated public class VisibilityAndGrouping extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VisibilityAndGrouping.Event
Deprecated.
|
static interface |
VisibilityAndGrouping.UpdateListener
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected CopyOnWriteArrayList<VisibilityAndGrouping.UpdateListener> |
updateListeners
Deprecated.
|
Constructor and Description |
---|
VisibilityAndGrouping(ViewerState viewerState)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addSourceToGroup(int sourceIndex,
int groupIndex)
Deprecated.
|
void |
addUpdateListener(VisibilityAndGrouping.UpdateListener l)
Deprecated.
|
int |
getCurrentGroup()
Deprecated.
|
int |
getCurrentSource()
Deprecated.
|
DisplayMode |
getDisplayMode()
Deprecated.
|
List<SourceGroup> |
getSourceGroups()
Deprecated.
|
List<SourceState<?>> |
getSources()
Deprecated.
|
ViewerState |
getState()
Deprecated.
|
boolean |
isFusedEnabled()
Deprecated.
|
boolean |
isGroupActive(int groupIndex)
Deprecated.
|
boolean |
isGroupingEnabled()
Deprecated.
|
boolean |
isSourceActive(int sourceIndex)
Deprecated.
|
boolean |
isSourceVisible(int sourceIndex)
Deprecated.
|
int |
numGroups()
Deprecated.
|
int |
numSources()
Deprecated.
|
void |
removeSourceFromGroup(int sourceIndex,
int groupIndex)
Deprecated.
|
void |
removeUpdateListener(VisibilityAndGrouping.UpdateListener l)
Deprecated.
|
void |
setCurrentGroup(int groupIndex)
Deprecated.
|
void |
setCurrentGroupOrSource(int index)
Deprecated.
|
void |
setCurrentSource(int sourceIndex)
Deprecated.
|
void |
setCurrentSource(Source<?> source)
Deprecated.
|
void |
setDisplayMode(DisplayMode displayMode)
Deprecated.
|
void |
setFusedEnabled(boolean enable)
Deprecated.
|
void |
setGroupActive(int groupIndex,
boolean isActive)
Deprecated.
|
void |
setGroupingEnabled(boolean enable)
Deprecated.
|
void |
setGroupName(int groupIndex,
String name)
Deprecated.
|
void |
setSourceActive(int sourceIndex,
boolean isActive)
Deprecated.
|
void |
setSourceActive(Source<?> source,
boolean isActive)
Deprecated.
|
void |
toggleActiveGroupOrSource(int index)
Deprecated.
|
protected void |
update(int id)
Deprecated.
|
protected final CopyOnWriteArrayList<VisibilityAndGrouping.UpdateListener> updateListeners
@Deprecated public VisibilityAndGrouping(ViewerState viewerState)
@Deprecated public ViewerState getState()
@Deprecated public int numSources()
@Deprecated public List<SourceState<?>> getSources()
@Deprecated public int numGroups()
@Deprecated public List<SourceGroup> getSourceGroups()
@Deprecated public DisplayMode getDisplayMode()
@Deprecated public void setDisplayMode(DisplayMode displayMode)
@Deprecated public int getCurrentSource()
@Deprecated public void setCurrentSource(int sourceIndex)
sourceIndex
- @Deprecated public void setCurrentSource(Source<?> source)
@Deprecated public boolean isSourceActive(int sourceIndex)
@Deprecated public void setSourceActive(int sourceIndex, boolean isActive)
sourceIndex
- isActive
- @Deprecated public void setSourceActive(Source<?> source, boolean isActive)
source
- isActive
- @Deprecated public int getCurrentGroup()
@Deprecated public void setCurrentGroup(int groupIndex)
groupIndex
- @Deprecated public boolean isGroupActive(int groupIndex)
@Deprecated public void setGroupActive(int groupIndex, boolean isActive)
groupIndex
- isActive
- @Deprecated public void setGroupName(int groupIndex, String name)
@Deprecated public void addSourceToGroup(int sourceIndex, int groupIndex)
@Deprecated public void removeSourceFromGroup(int sourceIndex, int groupIndex)
@Deprecated public void setCurrentGroupOrSource(int index)
index
- @Deprecated public void toggleActiveGroupOrSource(int index)
index
- @Deprecated public boolean isGroupingEnabled()
@Deprecated public boolean isFusedEnabled()
@Deprecated public void setGroupingEnabled(boolean enable)
@Deprecated public void setFusedEnabled(boolean enable)
@Deprecated public boolean isSourceVisible(int sourceIndex)
@Deprecated protected void update(int id)
@Deprecated public void addUpdateListener(VisibilityAndGrouping.UpdateListener l)
@Deprecated public void removeUpdateListener(VisibilityAndGrouping.UpdateListener l)
Copyright © 2015–2021 Fiji. All rights reserved.