Release Notes > JViews TGO 7.5 Release Notes > New Features > Styling |
Styling |
PREVIOUS NEXT |
The new styling features concern the following:
The global settings of the look and feel can now be customized using CSS.
Refer to the section Styling>Using Cascading Style Sheets>Using Global Settings in the JViews TGO User's Documentation for an overview and in subsequent sections for details.
It is now possible to configure CSS functions in a modular way using different CSS files. This configuration is now achieved using indexed property functions, as illustrated below:
StyleSheet { functions[0]: "ilog.cpl.css.ByteFunction"; functions[1]: "ilog.cpl.css.NoopFunction"; }
IltAnnealingLabelLayout
has been extended to support distinct configurations for objects and obstacles. By default, all object types are considered as obstacles by the label layout. The CSS properties used are:
The configuration can now be achieved in the following way:
LabelLayout { class: "ilog.tgo.graphic.graphlayout.labellayout.IltAnnealingLabelLayout"; obstacleOffset: 3; labelOffset: 3; objects[0]: LINKS; objects[1]: NETWORK_ELEMENTS; objects[2]: POLY_GROUPS; }
Copyright © Rogue Wave Software, Inc. 1997, 2016. All rights reserved. Legal terms. | PREVIOUS NEXT |