rework methods for modifying user-level child components of Container subclasses
--------------------------------------------------------------------------------

                 Key: PIVOT-846
                 URL: https://issues.apache.org/jira/browse/PIVOT-846
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
    Affects Versions: 2.1
            Reporter: Noel Grandin
            Assignee: Noel Grandin
            Priority: Minor


For most sub-classes of Container, directly adding/removing child components is 
not something the user usually wants to do.

This gets especially confusing when users do things like adding a child 
component to a ScrollPane.

Also, the skin classes add extra components to the Container, potentially 
making it even more confusing.

I plan to move access to a new method on Container#getChildComponentList(), 
which will be clearly marked as being of mostly internal interest.

Then I will add convenience methods to the subclasses of Container where it 
makes sense to treat the subclass as directly containing user-level child 
components, eg. BoxPane, CardPane, FlowPane, StackPane

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to