| Constructor and Description |
|---|
MultiInputPanel(String title) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInput(String name,
String text,
InputType type)
To add a component on the multiInputPanel
|
void |
addInput(String name,
String text,
String initialValue,
InputType type)
To add a component on the multiInputPanel
|
void |
addText(String text) |
void |
addValidation(MIPValidation mDValidation)
Add a rule to valide the content of the multiinputpanel
|
InputPanel |
getComponent()
Gets the swing component to show in the dialog
|
URL |
getIconURL()
Gets the icon of the UIPanel.
|
String |
getInput(String inputName) |
String |
getTitle()
Gets the title to show in the dialog
|
void |
setIcon(URL url) |
void |
setTitle(String title) |
void |
setValue(String fieldName,
String fieldValue) |
String |
validateInput()
Valid the input of panel
|
public MultiInputPanel(String title)
title - of the panelpublic void addValidation(MIPValidation mDValidation)
mDValidation - public void addInput(String name, String text, InputType type)
name - of the component. Using an identifier to get it.text - of the component that is showed.type - of the component.
Example :
addInput("AddValue", "Value to add", new IntType());public void addInput(String name, String text, String initialValue, InputType type)
name - of the component. Using an identifier to get it.text - of the component that is showed.initialValue - for the input componenttype - of the component.
Example :
addInput("AddValue", "Value to add", "1", new IntType());public void addText(String text)
text - public void setIcon(URL url)
url - for the icon panel.public void setTitle(String title)
title - public String validateInput()
validateInput in interface UIPanelpublic InputPanel getComponent()
UIPanelgetComponent in interface UIPanelpublic URL getIconURL()
UIPanelUIFactory is usedgetIconURL in interface UIPanelpublic String getTitle()
UIPanelCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.