Rendering the border of Activities as dotted lines

Article ID: 2323
Last updated: 30 May, 2018
Article ID: 2323
Last updated: 30 May, 2018
Revision: 3
Views: 538
Posted: 29 Jun, 2010
by Dean J.
Updated: 30 May, 2018
by Gargani A.

Question

How can I render the border of Activities as dotted lines?

Answer

First, you need to create your own subclass ActivityRendererFactory to return instances of your own subclass of IlvActivityBar. In your subclass of IlvActivityBar, you overwrite the draw method. Note : To render the inside of the Activity "transparent", simply do not draw anything inside. This is shown in the attached sample:

Also note that to run this sample with JViews 8.8 include icu4j-4_8.jar in the classpath. icu4j-4_8.jar is located in the JViews framework installation "\lib\external\" subdirectory. However for JViews 8.6, you must comment out the call to ilog.views.util.IlvProductUtil.DeploymentLicenseRequired (line 328 of ScheduleExample.java). You do not have to include icu4j-4_8.jar in the classpath.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2323
Last updated: 30 May, 2018
Revision: 3
Views: 538
Posted: 29 Jun, 2010 by Dean J.
Updated: 30 May, 2018 by Gargani A.
Also listed in


Others in this category