package nl.tudelft.dsol.introspection.beans;
import java.awt.Color;
import java.awt.Font;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import org.djutils.immutablecollections.ImmutableHashMap;
import org.djutils.immutablecollections.ImmutableHashSet;
import org.djutils.immutablecollections.ImmutableMap;
import org.djutils.immutablecollections.ImmutableSet;
/**
* Test bean for testing introspection of simple and composite color and font properties.
*
* (c) 2002-2018-2004 Delft University of Technology , the Netherlands.
* See for project information www.simulation.tudelft.nl .
*
* Copyright (c) 2002-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
* for project information https://simulation.tudelft.nl. The DSOL
* project is distributed under a three-clause BSD-style license, which can be found at
*
* https://simulation.tudelft.nl/dsol/3.0/license.html.
*
* @author Niels Lang
* Peter Jacobs
* @since 1.5
*/
public class GUIBean
{
/** the color to use. */
private Color color = Color.YELLOW;
/** the font to use. */
private Font font = new Font("Arial", Font.BOLD, 11);
/** the array. */
private Color[] colorArray = new Color[] {Color.BLACK, Color.BLUE, Color.GREEN};
/** A list. */
private List countryList = Arrays.asList("Netherlands", "Belgium", "Germany", "UK", "USA");
/** An ImmutableSet. */
private ImmutableSet immutableDoubleSet = new ImmutableHashSet<>(Arrays.asList(1.0, 2.0, 3.0, 4.0, 8.0, 16.0));
/** A map. */
private Map numberMap = new TreeMap<>();
/** An Immutable map. */
private ImmutableMap immutableMap;
/** A list of maps of sets. */
private List