Bridges-Java  3.4.4-dev2-4-g23cf54b
Bridges(Java API)
Public Member Functions | Package Attributes | List of all members
bridges.data_src_dependent.USState Class Reference

Class for USState and its attributes. More...

Public Member Functions

 USState ()
 Default constructor. More...
 
 USState (String state_name)
 Constructor for a specific state. More...
 
HashMap< String, USCountygetCounties ()
 
void setCounties (HashMap< String, USCounty > c)
 
String getStateName ()
 
void setStateName (String n)
 
Color getStrokeColor ()
 
void setStrokeColor (Color c)
 
Color getFillColor ()
 
void setFillColor (Color c)
 
float getStrokeWidth ()
 
void setStrokeWidth (float width)
 
Boolean getViewCountiesFlag ()
 
void setViewCountiesFlag (Boolean flag)
 

Package Attributes

Color fill_color
 

Detailed Description

Class for USState and its attributes.

Each State object contains its name, stroke color, stroke width, fill color, and a list of counties A tutorial on how to use the these objects is available at: https://bridgesuncc.github.io/tutorials/Map.html

Author
Kalpathi Subramanian, Erik Saule
Date
Last modified Dec 29, 2024

Constructor & Destructor Documentation

◆ USState() [1/2]

bridges.data_src_dependent.USState.USState ( )

Default constructor.

◆ USState() [2/2]

bridges.data_src_dependent.USState.USState ( String  state_name)

Constructor for a specific state.

Parameters
state_namestate info

Member Function Documentation

◆ getCounties()

HashMap<String, USCounty> bridges.data_src_dependent.USState.getCounties ( )

◆ getFillColor()

Color bridges.data_src_dependent.USState.getFillColor ( )

◆ getStateName()

String bridges.data_src_dependent.USState.getStateName ( )

◆ getStrokeColor()

Color bridges.data_src_dependent.USState.getStrokeColor ( )

◆ getStrokeWidth()

float bridges.data_src_dependent.USState.getStrokeWidth ( )

◆ getViewCountiesFlag()

Boolean bridges.data_src_dependent.USState.getViewCountiesFlag ( )

◆ setCounties()

void bridges.data_src_dependent.USState.setCounties ( HashMap< String, USCounty c)

◆ setFillColor()

void bridges.data_src_dependent.USState.setFillColor ( Color  c)

◆ setStateName()

void bridges.data_src_dependent.USState.setStateName ( String  n)

◆ setStrokeColor()

void bridges.data_src_dependent.USState.setStrokeColor ( Color  c)

◆ setStrokeWidth()

void bridges.data_src_dependent.USState.setStrokeWidth ( float  width)

◆ setViewCountiesFlag()

void bridges.data_src_dependent.USState.setViewCountiesFlag ( Boolean  flag)

Member Data Documentation

◆ fill_color

Color bridges.data_src_dependent.USState.fill_color
package

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