public abstract class FileParameterView extends SimpleParameterView<csbase.logic.algorithms.parameters.FileURLValue>
Parâmetro do Tipo Arquivo.ParameterView.Mode| Modifier | Constructor and Description |
|---|---|
protected |
FileParameterView(csbase.logic.algorithms.parameters.FileParameter parameter,
ParameterView.Mode mode)
Cria a visão.
|
protected |
FileParameterView(Window window,
csbase.logic.algorithms.parameters.FileParameter parameter)
Deprecated.
para manter compatibilidade com o WebSintesi
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract 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.FileParameter |
getParameter()
Obtém o parâmetro.
|
protected void |
setEnabled(boolean isEnabled)
Habilita/Desabilita a visão.
|
void |
updateViewContents()
Atualiza o conteúdo exibido pela visão.
|
protected void |
updateVisibilyView()
Atualiza a visão em relação ao estado Em Exibição/Oculto.
|
clearError, getComponent, getComponentAlignment, getComponents, getLabel, getWindow, highlightError, highlightValidationResult, isNullable, isVisible, setVisible, showErrorMessage, updateCapabilityView, validateaddParameterViewListener, fireVisibilityWasChanged, getMode, toString@Deprecated protected FileParameterView(Window window, csbase.logic.algorithms.parameters.FileParameter parameter)
ParameterView.Mode.CONFIGURATION.window - NÃO ESTÁ SENDO UTILIZADO. Existe somente para manter
compatibilidade com o WebSintesi.parameter - O parâmetro (Não aceita null).protected FileParameterView(csbase.logic.algorithms.parameters.FileParameter 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.public csbase.logic.algorithms.parameters.FileParameter getParameter()
getParameter in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<csbase.logic.algorithms.parameters.FileURLValue>>protected abstract csbase.logic.algorithms.parameters.FileURLValue askForFile()
null se o usuário cancelar ou houver um erro.protected JComponent createConfigurationComponent(Object... componentArgs)
createConfigurationComponent in class SimpleParameterView<csbase.logic.algorithms.parameters.FileURLValue>componentArgs - Os parâmetros para criação do componente.protected JComponent createReportComponent(Object... componentArgs)
createReportComponent in class SimpleParameterView<csbase.logic.algorithms.parameters.FileURLValue>componentArgs - Os parâmetros para criação do componente.protected void setEnabled(boolean isEnabled)
setEnabled in class SimpleParameterView<csbase.logic.algorithms.parameters.FileURLValue>isEnabled - .protected void updateVisibilyView()
updateVisibilyView in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<csbase.logic.algorithms.parameters.FileURLValue>>public void updateViewContents()
updateViewContents in class SimpleParameterView<csbase.logic.algorithms.parameters.FileURLValue>public boolean fillVerticalSpace()
fillVerticalSpace in class ParameterView<csbase.logic.algorithms.parameters.SimpleParameter<csbase.logic.algorithms.parameters.FileURLValue>>Copyright © 2019. All rights reserved.