Class Theme

java.lang.Object
org.gvsig.andami.ui.theme.Theme

public class Theme extends Object
Personalization of the program according to the file xml with the necessary information.
Author:
Vicente Caballero Navarro
  • Field Details

  • Constructor Details

    • Theme

      public Theme()
    • Theme

      public Theme(Map vars)
  • Method Details

    • getSource

      public File getSource()
    • readTheme

      public void readTheme(File file)
      Read the file xml with the personalization.
      Parameters:
      file - xml
    • getSplashImages

      public ImageIcon[] getSplashImages()
      Returns image to the splashwindow.
      Returns:
      ImageIcon[]
    • getTypeDesktop

      public String getTypeDesktop()
    • getIcon

      public ImageIcon getIcon()
      Return the icon.
      Returns:
      ImageIcon
    • getBackgroundImage

      public ImageIcon getBackgroundImage()
      Return the backgroundimage.
      Returns:
      ImageIcon
    • getBackgroundColor

      public Color getBackgroundColor()
    • getTimers

      public int[] getTimers()
      Return the time of the splash images.
      Returns:
      long[]
    • getName

      public String getName()
      Return the name of program.
      Returns:
      String
    • getVersions

      public String[] getVersions()
      Return the text to overwrite the images.
      Returns:
      String[]
    • getPositions

      public Point[] getPositions()
      Return the position of text to overwrite the images.
      Returns:
      Point[]
    • getFontSizes

      public int[] getFontSizes()
      Return the font size text to overwrite the images.
      Returns:
      int[]
    • getFontColors

      public Color[] getFontColors()
      Return the font color of text to overwrite the images.
      Returns:
      Color[]
    • getPriority

      public int getPriority()