| Package | Description |
|---|---|
| org.onosproject.ui |
Mechanism for managing dynamically registered user interface extensions.
|
| org.onosproject.ui.topo |
Mechanism for dynamically extending topology view with information and
behaviour overlays.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UiTopoOverlay.modifyDeviceDetails(PropertyPanel pp)
Callback to modify the contents of the details panel for
a selected device.
|
void |
UiTopoOverlay.modifyHostDetails(PropertyPanel pp)
Callback to modify the contents of the details panel for
a selected host.
|
void |
UiTopoOverlay.modifySummary(PropertyPanel pp)
Callback to modify the contents of the summary panel.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyPanel |
PropertyPanel.addButton(ButtonId button)
Adds the given button descriptor to the panel data.
|
PropertyPanel |
PropertyPanel.addProp(String key,
int value)
Adds a property to the panel data, using a decimal formatter.
|
PropertyPanel |
PropertyPanel.addProp(String key,
long value)
Adds a property to the panel data, using a decimal formatter.
|
PropertyPanel |
PropertyPanel.addProp(String key,
Object value)
Adds a property to the panel data.
|
PropertyPanel |
PropertyPanel.addProp(String key,
Object value,
String reStrip)
Adds a property to the panel data.
|
PropertyPanel |
PropertyPanel.addProp(String key,
String value)
Adds a property to the panel data.
|
PropertyPanel |
PropertyPanel.addSeparator()
Adds a separator to the panel data.
|
PropertyPanel |
PropertyPanel.id(String id)
Adds an ID field to the panel data, to be included in
the returned JSON data to the client.
|
PropertyPanel |
PropertyPanel.removeAllButtons()
Removes all currently defined buttons.
|
PropertyPanel |
PropertyPanel.removeAllProps()
Removes all currently defined properties.
|
PropertyPanel |
PropertyPanel.removeButtons(ButtonId... descriptors)
Removes buttons with the given descriptors from the list.
|
PropertyPanel |
PropertyPanel.removeProps(String... keys)
Removes properties with the given keys from the list.
|
PropertyPanel |
PropertyPanel.title(String title)
Sets the title text.
|
PropertyPanel |
PropertyPanel.typeId(String typeId)
Sets the type identifier (icon ID).
|
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.node.ObjectNode |
TopoJson.json(PropertyPanel pp)
Translates the given property panel into JSON, for returning
to the client.
|
Copyright © 2015. All rights reserved.