public class Subpanel extends Object
Modifier and Type | Method | Description |
---|---|---|
Subpanel |
addArgument(String name,
String value) |
Adds an argument to the map of arguments for this subpanel,
where key is the parameter name, and value is the argument value.
|
Subpanel |
addArguments(Map<String,String> arguments) |
Appends a map of arguments to the arguments of this subpanel.
|
Subpanel |
addAttribute(String name,
String value) |
Adds a local panel attribute to this subpanel.
|
Subpanel |
addAttributes(Map<String,String> attributes) |
Appends a map of attributes to the local panel attributes of this subpanel.
|
static Subpanel |
create(String name,
String publicPanel) |
Creates a subpanel with a reference to a public panel.
|
Map<String,String> |
getArguments() |
|
Map<String,String> |
getAttributes() |
|
String |
getName() |
|
String |
getPublicPanel() |
public static Subpanel create(String name, String publicPanel)
name
- The name of this subpanel, defining the path shown in the result.
This name must be unique for each dynamic page it is provided to.publicPanel
- The path of the public panel.public Subpanel addArgument(String name, String value)
name
- The parameter name.value
- The argument value.public Subpanel addArguments(Map<String,String> arguments)
arguments
- A map of arguments to the subpanel, where key is the parameter name, and value is the argument value.public Subpanel addAttribute(String name, String value)
PanelContent.attributes()
.name
- The attribute name.value
- The attribute value.public Subpanel addAttributes(Map<String,String> attributes)
PanelContent.attributes()
.attributes
- A map of local attributes of the subpanel, where key is the attribute name, and value is the attribute value.public String getName()
public String getPublicPanel()
Copyright © 2021 Apptus Technologies AB. All rights reserved.