Skip navigation links


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

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


public class CUIComponent
extends java.lang.Object

UI Component definition. This includes all information required for rendering a component and also includes the details as to which variable in the formula this component is mapped This includes 1) Component type - label , textbox , numberbox , dimensionlist , combobox , radiogroup 2) Variable to which this component is mapped 3) Display strings "|" seperated - Value used only if the component is a combobox 4) Component Length (Ex: textbox length) 5) UI position and size parameters - x , y , weightx , weighty , colspan , rowspan

Author:
Karthik K

Field Summary
static short COMBOBOX_COMPONENT_ID
           
static java.lang.String COMBOBOX_COMPONENT_STR
           
static short DIMSELECTION_COMPONENT_ID
           
static java.lang.String DIMSELECTION_COMPONENT_STR
           
static short LABEL_COMPONENT_ID
           
static java.lang.String LABEL_COMPONENT_STR
           
static short MEMSELECTION_COMPONENT_ID
           
static java.lang.String NOVAR_STR
           
static short NUMBERBOX_COMPONENT_ID
           
static java.lang.String NUMBERBOX_COMPONENT_STR
           
static short RADIOBUTTONGROUP_COMPONENT_ID
           
static java.lang.String RADIOBUTTONGROUP_COMPONENT_STR
           
static short TEXTBOX_COMPONENT_ID
           
static java.lang.String TEXTBOX_COMPONENT_STR
           

 

Constructor Summary
CUIComponent(short componentType)
           

 

Method Summary
static CUIComponent createComponentInstance(java.lang.String componentType)
          Creates an instance of the component based on the component type requested
 int getColspan()
           
 int getComponentLength()
           
 short getComponentType()
           
 java.lang.Object getDisplaystring()
           
 char getMnemonic()
           
 java.lang.String getMnemonicRef()
           
 int getRowspan()
           
 java.lang.Object getValue()
           
 java.lang.String getVariableName()
           
 double getWeightx()
           
 double getWeighty()
           
 int getX()
           
 int getY()
           
 boolean hasAssociatedVariable()
           
 void setColspan(int colspan)
           
 void setComponentLength(int componentLength)
           
 void setComponentType(short componentType)
           
 void setDisplaystring(java.lang.Object displaystring)
           
 void setMnemonic(char mnemonic)
           
 void setMnemonicRef(java.lang.String mnemonicRef)
           
 void setRowspan(int rowspan)
           
 void setValue(java.lang.Object value)
           
 void setVariableName(java.lang.String variableName)
           
 void setWeightx(double weightx)
           
 void setWeighty(double weighty)
           
 void setX(int x)
           
 void setY(int y)
           

 

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

 

Field Detail

LABEL_COMPONENT_ID

public static final short LABEL_COMPONENT_ID
See Also:
Constant Field Values

TEXTBOX_COMPONENT_ID

public static final short TEXTBOX_COMPONENT_ID
See Also:
Constant Field Values

NUMBERBOX_COMPONENT_ID

public static final short NUMBERBOX_COMPONENT_ID
See Also:
Constant Field Values

DIMSELECTION_COMPONENT_ID

public static final short DIMSELECTION_COMPONENT_ID
See Also:
Constant Field Values

MEMSELECTION_COMPONENT_ID

public static final short MEMSELECTION_COMPONENT_ID
See Also:
Constant Field Values

COMBOBOX_COMPONENT_ID

public static final short COMBOBOX_COMPONENT_ID
See Also:
Constant Field Values

RADIOBUTTONGROUP_COMPONENT_ID

public static final short RADIOBUTTONGROUP_COMPONENT_ID
See Also:
Constant Field Values

LABEL_COMPONENT_STR

public static final java.lang.String LABEL_COMPONENT_STR
See Also:
Constant Field Values

TEXTBOX_COMPONENT_STR

public static final java.lang.String TEXTBOX_COMPONENT_STR
See Also:
Constant Field Values

NUMBERBOX_COMPONENT_STR

public static final java.lang.String NUMBERBOX_COMPONENT_STR
See Also:
Constant Field Values

DIMSELECTION_COMPONENT_STR

public static final java.lang.String DIMSELECTION_COMPONENT_STR
See Also:
Constant Field Values

COMBOBOX_COMPONENT_STR

public static final java.lang.String COMBOBOX_COMPONENT_STR
See Also:
Constant Field Values

RADIOBUTTONGROUP_COMPONENT_STR

public static final java.lang.String RADIOBUTTONGROUP_COMPONENT_STR
See Also:
Constant Field Values

NOVAR_STR

public static final java.lang.String NOVAR_STR
See Also:
Constant Field Values

Constructor Detail

CUIComponent

public CUIComponent(short componentType)

Method Detail

getX

public int getX()

setX

public void setX(int x)

getY

public int getY()

setY

public void setY(int y)

getColspan

public int getColspan()

setColspan

public void setColspan(int colspan)

getRowspan

public int getRowspan()

setRowspan

public void setRowspan(int rowspan)

getMnemonic

public char getMnemonic()

setMnemonic

public void setMnemonic(char mnemonic)

getMnemonicRef

public java.lang.String getMnemonicRef()

setMnemonicRef

public void setMnemonicRef(java.lang.String mnemonicRef)

getComponentLength

public int getComponentLength()

setComponentLength

public void setComponentLength(int componentLength)

getComponentType

public short getComponentType()

setComponentType

public void setComponentType(short componentType)

getVariableName

public java.lang.String getVariableName()

setVariableName

public void setVariableName(java.lang.String variableName)

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

createComponentInstance

public static CUIComponent createComponentInstance(java.lang.String componentType)
Creates an instance of the component based on the component type requested

hasAssociatedVariable

public boolean hasAssociatedVariable()

getDisplaystring

public java.lang.Object getDisplaystring()

setDisplaystring

public void setDisplaystring(java.lang.Object displaystring)

getWeightx

public double getWeightx()

setWeightx

public void setWeightx(double weightx)

getWeighty

public double getWeighty()

setWeighty

public void setWeighty(double weighty)

Skip navigation links


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