|Modifier and Type||Method and Description|
Create a list or combo box model suitable for
Create a node which will contain package-oriented view of a source group.
Finds the node representing given object, if any.
Create a renderer suited to rendering models created using
public static Node createPackageView(SourceGroup group)
group- a source group which should be represented
rootNode- a node some descendant of which should contain the object
object- object to find
public static ComboBoxModel createListView(SourceGroup group)
JListfrom a source group showing all Java packages in the source group. To display it you will also need
No particular guarantees are made as to the nature of the model objects themselves,
Object.toString() will give the fully-qualified package name
"" for the default package), regardless of what the renderer
group- a Java-like source group
public static ListCellRenderer listRenderer()
createListView(org.netbeans.api.project.SourceGroup). The exact nature of the display is not specified. Instances of String can also be rendered.
Built on January 23 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.