Class VistaTheme

    • Field Detail

      • FOCUSED_PALE_BLUE

        public static final Color FOCUSED_PALE_BLUE
        Deprecated.
      • UNFOCUSED_PALE_BLUE

        public static final Color UNFOCUSED_PALE_BLUE
        Deprecated.
    • Constructor Detail

      • VistaTheme

        public VistaTheme()
        Deprecated.
    • Method Detail

      • getBackgroundPaint

        public Paint getBackgroundPaint​(Container container)
        Deprecated.
        Description copied from interface: Theme
        Background paint.
        Specified by:
        getBackgroundPaint in interface Theme
        Parameters:
        container - component
        Returns:
        background paint
      • getFocusedBackgroundPaint

        public Paint getFocusedBackgroundPaint​(Container container)
        Deprecated.
        Description copied from interface: Theme
        Background paint. This is used for the icon in the general preferences.
        Specified by:
        getFocusedBackgroundPaint in interface Theme
        Parameters:
        container - component
        Returns:
        background paint
      • getDescription

        public String getDescription()
        Deprecated.
        Description copied from interface: Theme
        Short description. Used in preferences.
        Specified by:
        getDescription in interface Theme
        Returns:
        description
      • getId

        public String getId()
        Deprecated.
        Description copied from interface: Theme
        Persistent ID. Used in general preferences.
        Specified by:
        getId in interface Theme
        Returns:
        unique, persistent id for this instance
      • isAvailable

        public boolean isAvailable()
        Deprecated.
        Description copied from interface: Theme
        Indicates, whether this Theme is available on the platform beaTunes is currently running on.
        Specified by:
        isAvailable in interface Theme
        Returns:
        true or false
      • paintBackground

        public void paintBackground​(Graphics graphics,
                                    Container container)
        Deprecated.
        Description copied from interface: Theme
        Paints a themed background.
        Specified by:
        paintBackground in interface Theme
        Parameters:
        graphics - graphics
        container - component to paint in
      • activate

        public void activate()
        Deprecated.
        Description copied from interface: Theme
        Is called by the system, when the Theme is activated.
        Specified by:
        activate in interface Theme
      • deactivate

        public void deactivate()
        Deprecated.
        Description copied from interface: Theme
        Is called by the system when the Theme is de-activated. The Theme is expected to return any UI defaults etc. to their original state.
        Specified by:
        deactivate in interface Theme
      • requiresRestart

        public boolean requiresRestart()
        Deprecated.
        Description copied from interface: Theme
        Indicates that a restart is required to fully switch to or from this theme.
        Specified by:
        requiresRestart in interface Theme
        Returns:
        true or false
      • customize

        public void customize​(Container container)
        Deprecated.
        Description copied from interface: Theme
        Is called by the systems for a number of different components and give this theme a chance to customize them.
        Specified by:
        customize in interface Theme
        Parameters:
        container - component to customize
      • getResource

        public URL getResource​(String resourceName)
        Deprecated.
        Description copied from interface: Theme
        Used for theme specific loading of resources.
        Specified by:
        getResource in interface Theme
        Parameters:
        resourceName - name of a resource, e.g. "newplaylist.png"
        Returns:
        the resource URL or null, if the resource should be resolved by the application instead of the theme.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object