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

This object stores a Country and links to information. More...

Public Member Functions

 Country ()
 Default constructor.
 
 Country (String country, String alpha2_id, String alpha3_id, long numeric3_id)
 Constructor for a specific country.
 
String getCountryName ()
 
void setCountryName (String n)
 
String getAlpha2Id ()
 
void setAlpha2Id (String id)
 
String getAlpha3Id ()
 
void setAlpha3Id (String id)
 
long getNumeric3Id ()
 
void setNumeric3Id (int id)
 
Color getStrokeColor ()
 
void setStrokeColor (Color c)
 
Color getFillColor ()
 
void setFillColor (Color c)
 
float getStrokeWidth ()
 
void setStrokeWidth (float width)
 

Detailed Description

This object stores a Country and links to information.

This object is used alongside with the WorldMap object. Each country has a stroke color and fill color and a set of ids

See tutorial at https://bridgesuncc.github.io/tutorials/Map.html

Author
Kalpathi Subramanian
Date
Last modified June 6, 2025

Constructor & Destructor Documentation

◆ Country() [1/2]

bridges.data_src_dependent.Country.Country ( )

Default constructor.

◆ Country() [2/2]

bridges.data_src_dependent.Country.Country ( String  country,
String  alpha2_id,
String  alpha3_id,
long  numeric3_id 
)

Constructor for a specific country.

Parameters
countrycountry name
alpha2_id2 letter alphabetic country id
alpha3_id3 letter alphabetic country id
numeric_idnumeric country id

Member Function Documentation

◆ getAlpha2Id()

String bridges.data_src_dependent.Country.getAlpha2Id ( )

◆ getAlpha3Id()

String bridges.data_src_dependent.Country.getAlpha3Id ( )

◆ getCountryName()

String bridges.data_src_dependent.Country.getCountryName ( )

◆ getFillColor()

Color bridges.data_src_dependent.Country.getFillColor ( )

◆ getNumeric3Id()

long bridges.data_src_dependent.Country.getNumeric3Id ( )

◆ getStrokeColor()

Color bridges.data_src_dependent.Country.getStrokeColor ( )

◆ getStrokeWidth()

float bridges.data_src_dependent.Country.getStrokeWidth ( )

◆ setAlpha2Id()

void bridges.data_src_dependent.Country.setAlpha2Id ( String  id)

◆ setAlpha3Id()

void bridges.data_src_dependent.Country.setAlpha3Id ( String  id)

◆ setCountryName()

void bridges.data_src_dependent.Country.setCountryName ( String  n)

◆ setFillColor()

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

◆ setNumeric3Id()

void bridges.data_src_dependent.Country.setNumeric3Id ( int  id)

◆ setStrokeColor()

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

◆ setStrokeWidth()

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

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