Components are additional ways that the user can interact with the Weave client and also provide a way for the client to display information to the user.
The generally provide a more complex interaction with Weave that a simple action does.
They're setup in the client config section of the config file.
Available Components
name | id | altername id |
---|---|---|
Loading | com.cohga.html.client.components.loadingComponent | |
Status | com.cohga.html.client.components.statusMessageComponent | |
Scale Selector | com.cohga.html.client.components.scaleSelector | |
com.cohga.html.client.components.entitySelectorComponent | weave.entitySelector | |
Scale Bar | com.cohga.html.client.components.scalebar | |
Image Slider | com.cohga.html.client.components.imageTransSlider | |
Index Combo | weave.indexcombo |
Examples
Scale bar
<item component="com.cohga.html.client.components.scalebar"> <!-- For simple scale text only (text mode) --> <simple>true</simple> <!-- Location of scale text in text mode --> <height>10</height> <!-- For display of scale text & scale bar --> <showText>true</showText> <!-- Controls the appearance of the scale bar, maximum is 2 --> <lines>1</lines> <!-- Default units --> <units>m</units> <!-- Enable menu to change units by right mouse click over scale bar --> <showMenu>true</showMenu> </item>