Yes, extending a subset of Skin classes would seem to be enough .. so I would call Theme.set for each of these in my Application.startup() I guess ?
Cheers, Steve ________________________________ From: Greg Brown [[email protected]] Sent: 15 April 2010 13:46 To: [email protected] Subject: Re: other themes or look and feel Hi Steve, Terra is the only theme available at the moment. We don't support any Swing LAFs, though it wouldn't be unrealistic to consider porting one to Pivot. Terra is pretty customizable though. The simplest way to customize it is by setting styles on your components (to change color, font, etc.). You can also supply a custom theme descriptor that defines the font, colors, and icons used by the theme. The default version looks like this: http://svn.apache.org/repos/asf/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme_default.json It is also possible to create your own theme, though this is a pretty significant undertaking. Another option is to extend the Terra theme and provide custom skins for a subset of components rather than writing an entire scheme from scratch. FWIW, we are planning to introduce a new theme with Pivot 2.0 (and we will probably continue to support Terra as well). However, that is pretty far out at this point - we don't even know what it will look like yet. Hope this helps. Greg On Apr 15, 2010, at 6:09 AM, Rendell, Stephen / Kuehne + Nagel / Ntg CI wrote: Hi, We have some fairly stringent requirements regarding exact appearance and look-and-feel, and the Terra theme is not really compatible with this. Are there any other themes available, or is there any migration path from or compatibility with Swing LAF? We already have a Swing LAF setup from an earlier prototype. Thanks, Steve ________________________________ Kuehne + Nagel Ltd. ( the Company) trade solely upon the conditions of the British International Freight Association. Copies of these Conditions can be obtained on application to the Company or upon application to the Director General of the British International Freight Association at Redfern House, Browells Lane, Feltham, Middx, TW13 7EP This email and any attachments are confidential and solely for the use of the intended recipient. They may contain material protected by legal professional or other privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this email or its attachments. Although this email and its attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by the company for any loss or damage arising from receipt or use thereof. Kuehne + Nagel Ltd. Registered in England and Wales number 01722216. VAT Registration Number GB 864 4409 10. Registered Office: 1 Union Business Park, Florence Way, Rockingham Road, Uxbridge, Middlesex. UB8 2LS ________________________________ Kuehne + Nagel Ltd. ( the Company) trade solely upon the conditions of the British International Freight Association. Copies of these Conditions can be obtained on application to the Company or upon application to the Director General of the British International Freight Association at Redfern House, Browells Lane, Feltham, Middx, TW13 7EP This email and any attachments are confidential and solely for the use of the intended recipient. They may contain material protected by legal professional or other privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this email or its attachments. Although this email and its attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by the company for any loss or damage arising from receipt or use thereof. Kuehne + Nagel Ltd. Registered in England and Wales number 01722216. VAT Registration Number GB 864 4409 10. Registered Office: 1 Union Business Park, Florence Way, Rockingham Road, Uxbridge, Middlesex. UB8 2LS
