Hi Greg,
First of all, thanks for using Pivot! And I sympathize with you
-- I am always on the Component Explorer looking at things.
Anyway, the short answer to your question is: the component
properties correspond to the "bean" methods in the components
themselves. These would be the "getXXX" and "setXXX" methods of (for
instance) PushButton, while the style attributes are the "bean"
methods for the skin, which (in my example) would be
TerraPushButtonSkin (and all their superclasses). Some of the multi-
value things are a bit tricky, but most have several ways to set them.
Playing around with the ComponentExplorer demo is one of the best ways
to start, as are all the various demo and tutorial applications on the
website (and of course the Javadoc).
And you can always ask here if you get stumped -- we're fairly
responsive because we've been where you are ;)
HTH,
~Roger Whitcomb
Sent from my iPhone
On Aug 19, 2012, at 11:25 AM, GregBrannon <[email protected]>
wrote:
Sorry to be the slow guy in the group, but I find the bxml document
approach
to UI definition difficult. I'm much more confident with it today
than I
was a few days ago when I first picked up Pivot, but I'm still
unsure how to
know what attributes and styles are available for specific
components. The
FAQ says:
". . . So, you can simply refer to the Javadoc for the component to
identify
the supported attributes. . . "
I then go to the API page for PushButton, and I see the buttonData
default
property but no mention of 'x', 'y', 'width', 'height', and the other
who-knows-what attributes that can be used to define this component.
What am I doing wrong? I want to like this GUI framework, and I do
so far,
but I'm still struggling a bit with the actual implementation.
Thanks for your help and your great work!
--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Determining-Pivot-component-attributes-and-styles-tp4022058.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.