Skip to main content

MultiSplitLayout request

1 reply [Last post]
jm7
Offline
Joined: 2006-06-16

Hi,
We are actually using MultiSplitPane in our docking framework implementation (MyDoggy) and would need to be able to get a previously added Component using its name. So, would it be possible that you add a method MultiSplitLayout.getLayoutComponent(String name)?

Regards,
Jean

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
luano
Offline
Joined: 2003-06-12

Sure, but when you say get a previously added component by name what do you want returned? If it is just the component then you could iterate the component hierarchy, or is it the layout node that you are after? There are already the methods:

public Component getComponentForNode( Node n )
public Node getNodeForComponent( Component comp )
public Node getNodeForComponent( String name )

which might be of use.

-Luan