[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
setWidth( int value)?  XML
Forum Index -> Development
Author Message
dstrigel

Power User

Joined: 09/12/2010 09:23:42
Messages: 69
Offline

Hello CaptainCasa!

We are using the Java class "Nodes" like LABELNode to build our dynamic Views. Some values like width we have stored as int. Every time we want to set the value we have to convert from int into String.

Code:
label.setWidth( String.valueOf( inputLabelWidth) )
 label.setWidth( "" + inputLabelWidth )


Maybe it is possible to add an additional method to set params like width and height as int/Integer?

Kind regards,
Daniel
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5538
Offline

Hi,
yes, we added this for "int" and as well for "boolean" values... Available with next update.
Thanks + regards!
Björn

Björn Müller, CaptainCasa GmbH
dstrigel

Power User

Joined: 09/12/2010 09:23:42
Messages: 69
Offline

perfect, thank you!
Daniel
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team