Skip navigation links


com.essbase.eas.essbase.ui.outline.members.formula.template
Class SwingUIGenerationLogic

java.lang.Object
  extended by com.essbase.eas.essbase.ui.outline.members.formula.template.SwingUIGenerationLogic

All Implemented Interfaces:
UIGenerationLogic

public class SwingUIGenerationLogic
extends java.lang.Object
implements UIGenerationLogic

Swing UI generation code for a formula template

Author:
Karthik K

Field Summary
protected  java.util.ResourceBundle resources
           

 

Constructor Summary
SwingUIGenerationLogic()
           

 

Method Summary
 void fillComponentValues(CFormulaTemplate template, UIComponentMap map)
          Fills the UI components with variable values, based on the variable-Component mapping defined in Component map.
 java.util.Hashtable readComponentValues(CUIDefinition uiDef, UIComponentMap map, CFormulaTemplate template, java.lang.StringBuffer errorMessage)
          Reads all the component values from the UI and returns them in a Hashmap
 UIComponentMap renderUI(java.lang.String formulaTemplateDescription, CUIDefinition uiDef, java.lang.Object uiContainer)
          Renders the UI fiven formula description text, UI definition (UI layout) and target container.
 void setDimensions(java.lang.Object[] dimensions)
          Set the dimensions in the database

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

resources

protected java.util.ResourceBundle resources

Constructor Detail

SwingUIGenerationLogic

public SwingUIGenerationLogic()

Method Detail

setDimensions

public void setDimensions(java.lang.Object[] dimensions)
Set the dimensions in the database
Specified by:
setDimensions in interface UIGenerationLogic

readComponentValues

public java.util.Hashtable readComponentValues(CUIDefinition uiDef,
                                               UIComponentMap map,
                                               CFormulaTemplate template,
                                               java.lang.StringBuffer errorMessage)
Reads all the component values from the UI and returns them in a Hashmap
Specified by:
readComponentValues in interface UIGenerationLogic

renderUI

public UIComponentMap renderUI(java.lang.String formulaTemplateDescription,
                               CUIDefinition uiDef,
                               java.lang.Object uiContainer)
Renders the UI fiven formula description text, UI definition (UI layout) and target container. For Swing UI Target container should be a JPanel After rendering the UI and mapping of variables to component references is returned in an ComponentMap
Specified by:
renderUI in interface UIGenerationLogic

fillComponentValues

public void fillComponentValues(CFormulaTemplate template,
                                UIComponentMap map)
Fills the UI components with variable values, based on the variable-Component mapping defined in Component map.

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.