All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tinylaf-1_4_0_src.help.help.html Maven / Gradle / Ivy

The newest version!



Control Panel Help




Control Panel Help

The control panel allows you to define, test and save TinyLaF themes. A theme is simply a collection of properties.


Content
  Loading Themes
  Saving Themes
  Specifying Fonts
  Reference Colors
  Specifying Colors
  Colorizing Icons
  Copying Parameters
  Undo/Redo
  Additional Resources


Loading Themes       Top of page

To load a theme, either select it from the 'Themes' menu or choose 'File | Open Theme...' to load some .theme file from your file system.



Saving Themes       Top of page

Select 'File | Save' or 'File | Save as...'. 'File | Save as Default' will save the current theme as 'Default.theme'.



Specifying Fonts       Top of page

Click the 'Fonts' tab to display the fonts editor. The 'Plain Font' and 'Bold Font' sections should be self-explaining, from interest is the 'Special Font' section.

There are 23 different fonts you can specify, each registered for a different kind of component or group of components ('Button Font', for example, is applied to JButtons and JToggleButtons). For a Special Font you can specify that either the plain font or bold font shall be used or you can specify the font family, size and style. For some Special Fonts you can additionally specify the text color (see Specifying Colors).



Reference Colors       Top of page

All colors defined for a TinyLaF theme are either absolute colors or are derived from a reference color.

Click the 'Colors' tab to see all reference colors. The colors in the first row are absolute colors, by clicking inside the colored rectangle you open a color chooser. The following colors ('Sub1 Color' to 'Sub8 Color') can be absolute colors or can be derived from a reference color, but with different settings for brightness and saturation (see the next section about specifying derived colors).



Specifying Colors       Top of page

You specify colors using the color widget.
  -  On rollover you see the current parameter settings. A color is defined through its reference color and values for brightness and saturation.
  -  If you click inside the grey rectangle at the left, a popup menu is displayed, allowing you to copy parameters from one color widget to another.
  -  If you click inside the rectangle at the right, a popup menu is displayed, allowing you to choose the reference color or an absolute color.
  -  The center rectangle shows the current color. Clicking it opens the 'Saturation/Brightness' dialog.



Colorizing Icons       Top of page

At 'Decoration | Icons' you find widgets allowing you to colorize the provided icon set.
  -  On rollover you see the current parameter settings.
  -  If you click inside the grey rectangle at the left, a popup menu is displayed, allowing you to copy parameters from one widget to another.
  -  If you click inside the rectangle at the right, a popup menu is displayed, allowing you to choose the reference color.
  -  The center rectangle shows the current color. Clicking it opens the 'Hue/Saturation/Brightness' dialog.
   Adjust Hue, Saturation and Brightness as you like. Selecting the 'Preserve grey values' checkbox means that the Brightness setting doesn't affect "grey" colors (colors with equal amounts of red, green and blue).

Note: Alternatively to colorizing icons, you can create your own icon set. Simply replace one or more icons in directory .../TinyLaF/de/muntjak/tinylookandfeel/icons and rebuild tinylaf.jar.



Copying Parameters       Top of page

At Specifying Colors you already learned how to copy color parameters from one color widget to another.

There are two additional mechanisms to copy parameters from one theme to another:
  • Copy parameter sets
    At the top/right corner of each 'Decoration' panel there are two buttons allowing you to copy and paste parameter sets. By clicking the upper button you copy parameters (each 'Decoration' panel stores its own parameter set). Clicking the lower button will paste the stored parameter set.
    Note: When copying, for example, parameters of the 'Decoration | Button' panel, the fonts for buttons, checkboxes and radio buttons will be part of the parameter set (as well as all flags, insets and so on).

  • Copy selected parameters
    To create a selection of parameters, Control-click any of the following widgets:
    Note: A selection can even include Reference Colors.


Undo/Redo       Top of page

With the exception of loading themes, you can undo/redo each action. There's an unlimited number of undo buffers. Each time you load another theme, undo buffers are cleared.



Additional Resources       Top of page

readme.html describes how to set the look and feel, how to specify the default theme, how to switch themes and more. To view the TinyLaF javadoc documentation, start at docs/index.html.






© 2015 - 2024 Weber Informatics LLC | Privacy Policy