Bridges-Java 3.5.0
Bridges(Java API)
Public Member Functions | Protected Attributes | List of all members
bridges.base.SymbolCollection Class Reference

SymbolCollection represents a collection of symbols to visualize in Bridges This class is a container for the different symbol types supported in BRIDGES. More...

Inheritance diagram for bridges.base.SymbolCollection:
bridges.base.DataStruct

Public Member Functions

void setViewport (float xmin, float xmax, float ymin, float ymax)
 
 SymbolCollection ()
 
String getDataStructType ()
 
void addSymbol (Symbol s)
 
String getDataStructureRepresentation ()
 
abstract String getDataStructType ()
 
abstract String getDataStructureRepresentation ()
 

Protected Attributes

Float domainxmin = -100.0f
 
Float domainxmax = 100.0f
 
Float domainymin = -100.0f
 
Float domainymax = 100.0f
 
boolean autoscaledomain = true
 
- Protected Attributes inherited from bridges.base.DataStruct
String QUOTE = "\""
 
String COMMA = ","
 
String COLON = ":"
 
String OPEN_CURLY = "{"
 
String CLOSE_CURLY = "}"
 
String OPEN_PAREN = "("
 
String CLOSE_PAREN = ")"
 
String OPEN_BOX = "["
 
String CLOSE_BOX = "]"
 

Detailed Description

SymbolCollection represents a collection of symbols to visualize in Bridges This class is a container for the different symbol types supported in BRIDGES.

See also
See tutorial at https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
Author
David Burlinson
Date
2018, 7/15/19

Constructor & Destructor Documentation

◆ SymbolCollection()

bridges.base.SymbolCollection.SymbolCollection ( )

Constructor - maintained internally as a hashmap

Member Function Documentation

◆ addSymbol()

void bridges.base.SymbolCollection.addSymbol ( Symbol  s)

This method adds a symbol to the collection

Parameters
ssymbol to be added

◆ getDataStructType()

String bridges.base.SymbolCollection.getDataStructType ( )

This method gets the data structure type

Returns
The date structure type as a string

Reimplemented from bridges.base.DataStruct.

◆ getDataStructureRepresentation()

String bridges.base.SymbolCollection.getDataStructureRepresentation ( )

Get the JSON representation of the the data structure

Returns
JSON of symbol collection (string)

Reimplemented from bridges.base.DataStruct.

◆ setViewport()

void bridges.base.SymbolCollection.setViewport ( float  xmin,
float  xmax,
float  ymin,
float  ymax 
)

Member Data Documentation

◆ autoscaledomain

boolean bridges.base.SymbolCollection.autoscaledomain = true
protected

◆ domainxmax

Float bridges.base.SymbolCollection.domainxmax = 100.0f
protected

◆ domainxmin

Float bridges.base.SymbolCollection.domainxmin = -100.0f
protected

◆ domainymax

Float bridges.base.SymbolCollection.domainymax = 100.0f
protected

◆ domainymin

Float bridges.base.SymbolCollection.domainymin = -100.0f
protected

The documentation for this class was generated from the following file: