Class LookAndFeelStep
- java.lang.Object
-
- org.pentaho.ui.xul.XulEventSourceAdapter
-
- org.pentaho.reporting.engine.classic.wizard.ui.xul.components.AbstractWizardStep
-
- org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.LookAndFeelStep
-
- All Implemented Interfaces:
WizardStep
,org.pentaho.ui.xul.XulEventSource
public class LookAndFeelStep extends AbstractWizardStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
LookAndFeelStep.SelectTemplateStepHandler
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.wizard.ui.xul.components.AbstractWizardStep
FINISHABLE_PROPERTY_NAME, messages, PREVIEWABLE_PROPERTY_NAME, SPACER_IMAGE_SRC, STEP_CONTAINER, STEP_IMAGE_SRC, VALID_PROPERTY_NAME, XUL_HBOX_TYPE, XUL_IMAGE_TYPE, XUL_LABEL_TYPE
-
-
Constructor Summary
Constructors Constructor Description LookAndFeelStep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static File
computeInstallationDirectory()
void
createPresentationComponent(org.pentaho.ui.xul.XulDomContainer mainWizardContainer)
String
getFileName()
Integer
getSelectedTemplate()
String
getStepName()
List<String>
getTemplates()
boolean
isStartFromFile()
void
setBindings()
setBindings()void
setFileName(String fileName)
void
setSelectedTemplate(Integer selectedTemplate)
void
setSelectedTemplateByPath(String path)
void
setStartFromFile(boolean startFromFile)
void
setTemplates(List<String> templates)
void
stepActivating()
stepActivating()boolean
stepDeactivating()
Called on a step just before it becomes deactivated (before the new active step is shown).-
Methods inherited from class org.pentaho.reporting.engine.classic.wizard.ui.xul.components.AbstractWizardStep
getAttributeContext, getBindingFactory, getDesignTimeContext, getDocument, getEditorModel, isFinishable, isPreviewable, isValid, setBindingFactory, setDesignTimeContext, setDocument, setEditorModel, setFinishable, setPreviewable, setValid
-
-
-
-
Method Detail
-
computeInstallationDirectory
public static File computeInstallationDirectory()
-
setBindings
public void setBindings()
Description copied from interface:WizardStep
setBindings() Allows concrete implementations to set their bindings for enclosed properties and Xul defined elements.
-
stepDeactivating
public boolean stepDeactivating()
Description copied from interface:WizardStep
Called on a step just before it becomes deactivated (before the new active step is shown).- Specified by:
stepDeactivating
in interfaceWizardStep
- Overrides:
stepDeactivating
in classAbstractWizardStep
- Returns:
- boolean indicating that this step should be allowed to become deactive
-
stepActivating
public void stepActivating()
Description copied from interface:WizardStep
stepActivating() Called on each step just before it become active (before it's card is shown).- Specified by:
stepActivating
in interfaceWizardStep
- Overrides:
stepActivating
in classAbstractWizardStep
-
getFileName
public String getFileName()
-
setFileName
public void setFileName(String fileName)
-
isStartFromFile
public boolean isStartFromFile()
-
setStartFromFile
public void setStartFromFile(boolean startFromFile)
-
createPresentationComponent
public void createPresentationComponent(org.pentaho.ui.xul.XulDomContainer mainWizardContainer) throws org.pentaho.ui.xul.XulException
- Specified by:
createPresentationComponent
in interfaceWizardStep
- Overrides:
createPresentationComponent
in classAbstractWizardStep
- Throws:
org.pentaho.ui.xul.XulException
- Creates the presentation layer associated with this WizardStep. This is usually done by loading an overlay into the main_wzard_panel.xul
-
getStepName
public String getStepName()
- Returns:
- a string (must be localized) that describes this step
-
setSelectedTemplateByPath
public void setSelectedTemplateByPath(String path)
-
getSelectedTemplate
public Integer getSelectedTemplate()
-
setSelectedTemplate
public void setSelectedTemplate(Integer selectedTemplate)
-
-