Bridges-Java 3.5.0-dev1
Bridges(Java API)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
bridges.data_src_dependent.USState Class Reference

Class for USState and its attributes. More...

Public Member Functions

 USState ()
 Default constructor.
 
 USState (String state_name)
 Constructor for a specific state.
 
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)
 

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)

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