public final class TabbedGroupView extends GroupView
MonitorView that divides channels into groups and displays one group at a time, using tabs to select the group.| Modifier and Type | Class and Description |
|---|---|
static class |
TabbedGroupView.Descriptor
JavaBean that contains information required to re-create this view in its current state.
|
GroupView.Filter| Modifier and Type | Field and Description |
|---|---|
static String |
CREATOR_PATH |
currentGroup, depth, descriptor, selectionHistorycompactFields, data, fields, filter, formatterCATEGORY| Constructor and Description |
|---|
TabbedGroupView(int depth,
boolean horizontalTabs) |
| Modifier and Type | Method and Description |
|---|---|
static TabbedGroupView |
createTabbedExplicitGroupsSectionedTables() |
TabbedGroupView.Descriptor |
getDescriptor()
Returns a reference to the descriptor maintained by this component.
|
JComponent |
getPanel()
Returns the graphical component maintained by this view.
|
protected String[] |
getPath(String group)
Splits the group name into segments.
|
protected void |
groupsAdded(List<String> groups) |
protected void |
groupSelected() |
protected void |
groupsRemoved(List<String> groups) |
protected void |
selectGroup(String group)
Selects and displays the view for the specified group.
|
addChannels, createView, getSubgroups, getView, hasGroup, mergeGroup, removeChannels, restore, save, separateGroup, setFormatter, test1, updateChannelsconfigure, connect, createChannel, disconnect, getFilter, getFormater, getGroup, getGroupFields, getGroups, isEmpty, resetChannels, setDiscardRemovedChannels, setFilter, statusChanged, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitedit, getNameinstall, setName, uninstallgetCategory, getPath, restorepublic static final String CREATOR_PATH
@Create(category="MonitorView", name="Group Tabbed", path="Built-In/Grouped/Tabbed", description="Monitoring data view that divides channels into groups, and displays one group at a time. Tabs are used to select the group to display, and tree views are used for each group.") public TabbedGroupView(@Par(def="0",desc="Depth of group hierarchy. If 0, the filter is expected to provide explicit group names (separated by \'//\' from the rest of the display path. Otherwise, should be 1 or 2, and the first 1 or 2 slash-separtated segments of the display path will be used as group names.") int depth, @Par(def="false",desc="Place tabs horizontally (left and right from the view) insted of vertically (at the top and bottom).") boolean horizontalTabs)
public JComponent getPanel()
MonitorViewprotected String[] getPath(String group)
GroupViewprotected void selectGroup(String group)
GroupView"", the default group is selected.
On exit from this method currentGroup is set and selectionHistory is updated.selectGroup in class GroupViewgroup - Group or prefix that specifies a group of groups.protected void groupsAdded(List<String> groups)
groupsAdded in class GroupViewprotected void groupsRemoved(List<String> groups)
groupsRemoved in class GroupViewprotected void groupSelected()
groupSelected in class GroupViewpublic TabbedGroupView.Descriptor getDescriptor()
Persistablenull, and
that any properties set on the descriptor returned by this method are reflected by
descriptors subsequently returned by save(), unless modified between the two calls.getDescriptor in interface PersistablegetDescriptor in class GroupView@Create(category="MonitorView", name="Tabbed Tables", path="Built-In/Grouped/Tabbed, Explicit Groups, Tables", description="Tabbed view that expects explicitly defined groups from the filter, and displays each group in a sectioned table.") public static TabbedGroupView createTabbedExplicitGroupsSectionedTables()
Copyright © 2023 LSST. All rights reserved.