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

Class that holds US County information. More...

Public Member Functions

 USCounty ()
 Default constructor. More...
 
 USCounty (String geoid, String fips_code, String county_name, String state_name)
 Constructor with county related parameters. More...
 
String getCountyName ()
 
void setCountyName (String n)
 
String getStateName ()
 
void setStateName (String n)
 
String getGeoId ()
 
void setGeoId (String id)
 
String getFipsCode ()
 
void setFipsCode (String code)
 
Color getStrokeColor ()
 
void setStrokeColor (Color c)
 
Color getFillColor ()
 
void setFillColor (Color c)
 
float getStrokeWidth ()
 
Boolean getHideFlag ()
 
void setHideFlag (Boolean flag)
 

Package Functions

void setStrokeWidth (float width)
 

Package Attributes

String state_name
 
String geoid
 
String fips_code
 
Color fill_color
 
Boolean hide_flag
 

Detailed Description

Class that holds US County information.

This object is used alongside with the USMap object. Each county has a stroke color and fill color attributes. Each county has a geoid and FIPS code for identification. The geoid is used as the key in the USState object to effic

Each County object contains its county name, state name, geoid, fips code, stroke color, stroke width, fill color, stroke color

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
12/22/24

Constructor & Destructor Documentation

◆ USCounty() [1/2]

bridges.data_src_dependent.USCounty.USCounty ( )

Default constructor.

◆ USCounty() [2/2]

bridges.data_src_dependent.USCounty.USCounty ( String  geoid,
String  fips_code,
String  county_name,
String  state_name 
)

Constructor with county related parameters.

Parameters
geoidGeoId of the county
fips_codeFIPSa Code of the county
county_namecounty
state_namestate containing county

Member Function Documentation

◆ getCountyName()

String bridges.data_src_dependent.USCounty.getCountyName ( )

◆ getFillColor()

Color bridges.data_src_dependent.USCounty.getFillColor ( )

◆ getFipsCode()

String bridges.data_src_dependent.USCounty.getFipsCode ( )

◆ getGeoId()

String bridges.data_src_dependent.USCounty.getGeoId ( )

◆ getHideFlag()

Boolean bridges.data_src_dependent.USCounty.getHideFlag ( )

◆ getStateName()

String bridges.data_src_dependent.USCounty.getStateName ( )

◆ getStrokeColor()

Color bridges.data_src_dependent.USCounty.getStrokeColor ( )

◆ getStrokeWidth()

float bridges.data_src_dependent.USCounty.getStrokeWidth ( )

◆ setCountyName()

void bridges.data_src_dependent.USCounty.setCountyName ( String  n)

◆ setFillColor()

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

◆ setFipsCode()

void bridges.data_src_dependent.USCounty.setFipsCode ( String  code)

◆ setGeoId()

void bridges.data_src_dependent.USCounty.setGeoId ( String  id)

◆ setHideFlag()

void bridges.data_src_dependent.USCounty.setHideFlag ( Boolean  flag)

◆ setStateName()

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

◆ setStrokeColor()

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

◆ setStrokeWidth()

void bridges.data_src_dependent.USCounty.setStrokeWidth ( float  width)
package

Member Data Documentation

◆ fill_color

Color bridges.data_src_dependent.USCounty.fill_color
package

◆ fips_code

String bridges.data_src_dependent.USCounty.fips_code
package

◆ geoid

String bridges.data_src_dependent.USCounty.geoid
package

◆ hide_flag

Boolean bridges.data_src_dependent.USCounty.hide_flag
package

◆ state_name

String bridges.data_src_dependent.USCounty.state_name
package

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