java.lang.Object | +----java.awt.Component | +----java.awt.Container | +----java.awt.Panel | +----cern.lhcias.csgui.TagsView.CompoundView
Class CompoundView is a container for other TagsView.
TagsView type implemented: CompoundView
Configuration: the URL of the file containing the description in standard dgsl
Ex:
#ViewType CompoundView
#Size 600 105
#
# format: component type x y width height component_configuration
component TREND_TYPE 1 1 95 95 d3
component TEXT_TYPE 100 1 95 95 d2
component LED_TYPE 200 1 95 95 2
component TextLabel 300 1 55 25 d2
component HScrollbar 400 5 55 25 d2
It is possible to dynamically create a compoundView. When CompoundView receives a
request to insert a Tag, a list of Tags or a TagsView, it opens a dialog window in
which it is possible to specify how and where to insert the component.
It is also possible to move a TagsView component inside the CompoundView. To do so,
double click in the CompoundView, but outside any included components. A dialog window
will open. This new window subscribes to the TagClicked event. So, to move a component,
one has to click on it in the CompoundView main window and then change its coordinates
in the dialog window.
public static final String DEFAULT_TYPE
public CompoundView()
public synchronized void addTagClickedListener(TagClickedListener listener)
public synchronized void removeTagClickedListener(TagClickedListener listener)
public void addOpenViewListener(OpenViewListener listener)
public void removeOpenViewListener(OpenViewListener listener)
public void addAlarmListener(AlarmListener listener)
public void removeAlarmListener(AlarmListener listener)
public void instantiate(TagArrays TA, String configname, TagChangeAdapter adapter, TagClickedAdapter cadapter, OpenViewAdapter Opadapter, configurationMgr cm, AlarmAdapter aA)
public Dimension getPreferredSize()
public String toString()
public void setConfig(String config)
public int getComponentNb()
public Vector getComponentsList()
public void setTagsViewBounds(TagsView tV, int x, int y, int width, int height)
public void setTagsViewProperty(TagsView tV, String Property, String Value)
public void removeWindowCompSettings()
public void addTag(String tagName)
public void addTag(String config, String type)
public void addTag(String config, String type, int x, int y, int width, int height)
public void addTag(Vector tagNames)
public void addTag(TagsView TVcomponent)
public void removeTag(String name)
public void removeTag(Vector tagNames)
public void removeTag(TagsView TVcomponent)
public String get_name(int i)
public Vector getTagNames()
public Vector getLocalTagNames()
public void removeNotify()
public void setProperty(String tagname, String tagProperty, String propertyValue)
public void receiveTagChange(TagChangeEvent tagevent)
public void setBackground(String BackgroundURL)
public void paint(Graphics g)
public boolean doYouImplement(String type)
public Vector getPossibleTypes()
public String getType()