public abstract class FileListParameterView extends SimpleParameterView<java.util.List<csbase.logic.algorithms.parameters.FileURLValue>>
Parâmetro do Tipo Lista de Arquivos.| Modifier and Type | Class and Description |
|---|---|
protected static interface |
FileListParameterView.FileListParameterComponent
Interface do componente
|
ParameterView.Mode| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
LNGPREFIX
Prefixo para internacionalização de idioma.
|
| Constructor and Description |
|---|
FileListParameterView(csbase.logic.algorithms.parameters.FileListParameter parameter,
ParameterView.Mode mode)
Cria uma visão.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.util.Set<csbase.logic.algorithms.parameters.FileURLValue> |
askForFile()
Solicita um arquivo da usuário.
|
protected javax.swing.JComponent |
createConfigurationComponent(java.lang.Object... componentArgs)
Obtém o componente principal.
|
protected javax.swing.JComponent |
createReportComponent(java.lang.Object... componentArgs)
Obtém o componente principal.
|
boolean |
fillVerticalSpace()
Indica se a visão do parâmetro deve ser ampliável verticalmente.
|
csbase.logic.algorithms.parameters.FileListParameter |
getParameter()
Obtém o parâmetro.
|
protected void |
updateViewContents()
Atualiza o conteúdo exibido pela visão.
|
clearError, getComponent, getComponents, getLabel, getWindow, highlightError, highlightValidationResult, isVisible, setEnabled, setVisible, showErrorMessage, updateCapabilityView, validateaddParameterViewListener, fireVisibilityWasChanged, getMode, toString, updateVisibilyViewprotected static final java.lang.String LNGPREFIX
public FileListParameterView(csbase.logic.algorithms.parameters.FileListParameter parameter,
ParameterView.Mode mode)
parameter - O parâmetro (Não aceita null).mode - Modo de visualização. Não aceita null, os possíveis
valores são: ParameterView.Mode.CONFIGURATION ou
ParameterView.Mode.REPORT.protected javax.swing.JComponent createConfigurationComponent(java.lang.Object... componentArgs)
createConfigurationComponent in class SimpleParameterView<java.util.List<csbase.logic.algorithms.parameters.FileURLValue>>componentArgs - Os parâmetros para criação do componente.protected javax.swing.JComponent createReportComponent(java.lang.Object... componentArgs)
createReportComponent in class SimpleParameterView<java.util.List<csbase.logic.algorithms.parameters.FileURLValue>>componentArgs - Os parâmetros para criação do componente.protected void updateViewContents()
updateViewContents in class SimpleParameterView<java.util.List<csbase.logic.algorithms.parameters.FileURLValue>>public boolean fillVerticalSpace()
fillVerticalSpace in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<java.util.List<csbase.logic.algorithms.parameters.FileURLValue>>>public csbase.logic.algorithms.parameters.FileListParameter getParameter()
getParameter in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<java.util.List<csbase.logic.algorithms.parameters.FileURLValue>>>protected abstract java.util.Set<csbase.logic.algorithms.parameters.FileURLValue> askForFile()
null se o usuário cancelar ou houver um erro.Copyright © 2015. All Rights Reserved.