public class ContainerTree.WidgetWrapper
extends java.lang.Object
Widget
references
in the tree component.Modifier and Type | Field and Description |
---|---|
private Widget<?> |
widget
The widget reference.
|
Constructor and Description |
---|
WidgetWrapper(Widget<?> widget)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.SortedMap<java.lang.String,java.lang.Object> |
getProperties(java.lang.Iterable<java.lang.String> inclusions)
Builds map of properties to display in the property table.
|
Widget<?> |
getWidget()
Returns the wrapped widget reference.
|
java.lang.String |
toString()
This override is called by the tree component to show the node label.
|
private Widget<?> widget
public Widget<?> getWidget()
Widget
reference.public java.util.SortedMap<java.lang.String,java.lang.Object> getProperties(java.lang.Iterable<java.lang.String> inclusions)
The caller can pass a collection of inclusion patterns. An inclusion pattern is a string that may contain a wildcard character at the beginning or end of the string. Properties that match any of the inclusion patterns are returned.
inclusions
- The collection of inclusion patterns. May be null or empty,
in which case all properties are returned.public java.lang.String toString()
toString
in class java.lang.Object