public abstract class FileListParameterView extends SimpleParameterView<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 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 Set<csbase.logic.algorithms.parameters.FileURLValue> |
askForFile()
Solicita um arquivo da usuário.
|
protected JComponent |
createConfigurationComponent(Object... componentArgs)
Obtém o componente principal.
|
protected JComponent |
createReportComponent(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.
|
void |
updateViewContents()
Atualiza o conteúdo exibido pela visão.
|
clearError, getComponent, getComponentAlignment, getComponents, getLabel, getWindow, highlightError, highlightValidationResult, isNullable, isVisible, setEnabled, setVisible, showErrorMessage, updateCapabilityView, validateaddParameterViewListener, fireVisibilityWasChanged, getMode, toString, updateVisibilyViewprotected static final 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 JComponent createConfigurationComponent(Object... componentArgs)
createConfigurationComponent in class SimpleParameterView<List<csbase.logic.algorithms.parameters.FileURLValue>>componentArgs - Os parâmetros para criação do componente.protected JComponent createReportComponent(Object... componentArgs)
createReportComponent in class SimpleParameterView<List<csbase.logic.algorithms.parameters.FileURLValue>>componentArgs - Os parâmetros para criação do componente.public void updateViewContents()
updateViewContents in class SimpleParameterView<List<csbase.logic.algorithms.parameters.FileURLValue>>public boolean fillVerticalSpace()
fillVerticalSpace in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<List<csbase.logic.algorithms.parameters.FileURLValue>>>public csbase.logic.algorithms.parameters.FileListParameter getParameter()
getParameter in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<List<csbase.logic.algorithms.parameters.FileURLValue>>>protected abstract Set<csbase.logic.algorithms.parameters.FileURLValue> askForFile()
null se o usuário cancelar ou houver um erro.Copyright © 2016. All rights reserved.