Class TestIcon

    • Constructor Detail

      • TestIcon

        public TestIcon​(NamedObj container,
                        java.lang.String name)
                 throws NameDuplicationException,
                        IllegalActionException
        Create a new icon with the given name in the given container. The container is required to implement Settable, or an exception will be thrown.
        Parameters:
        container - The container for this attribute.
        name - The name of this attribute.
        Throws:
        IllegalActionException - If thrown by the parent class or while setting an attribute.
        NameDuplicationException - If the name coincides with an attribute already in the container.
    • Method Detail

      • _getFill

        protected java.awt.Paint _getFill()
        Description copied from class: NameIcon
        Return the paint to use to fill the icon. This base class returns the value of the color attribute.
        Overrides:
        _getFill in class NameIcon
        Returns:
        The paint to use to fill the icon.