public class

ColorGradientEditorBeanImpl

extends AbstractViewBeanParserBean
implements ColorGradientEditorBean
java.lang.Object
   ↳ com.microstrategy.utils.serialization.AbstractPersistable
     ↳ com.microstrategy.web.beans.AbstractTransformable
       ↳ com.microstrategy.web.beans.AbstractWebComponent
         ↳ com.microstrategy.web.app.beans.AbstractAppComponent
           ↳ com.microstrategy.web.app.beans.AbstractPersistableAppComponent
             ↳ com.microstrategy.web.app.beans.AbstractPersistableFrameElement
               ↳ com.microstrategy.web.app.beans.AbstractViewBeanParserBean
                 ↳ com.microstrategy.web.app.beans.ColorGradientEditorBeanImpl

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
[Expand]
Inherited Fields
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
ColorGradientEditorBeanImpl()
Public Methods
int getAngle()
Get the angle of the gradient
String getColor1()
String getColor2()
String getControlID()
int getCurrentPreview()
int getGraphObjectID()
Get the Graph Object ID
int getGraphSeriesID()
Get the Graph Series ID
String getParentBoneID()
int getShadingStyle()
int getTransitionType()
int getXOffset()
int getYOffset()
boolean isEditor()
Indicates whether the instance most be considered editor.
boolean isEnabled()
Checks if a bean is enabled
void setAngle(int value)
Set the angle of the gradient
void setColor1(String value)
Set the first color of the gradient
void setColor2(String value)
Set the second color of the gradient
void setControlID(String controlID)
Set the active control ID.
void setCurrentPreview(int value)
Set the current preset gradient selection
void setGraphObjectID(int value)
void setGraphSeriesID(int value)
Set the Graph Series ID
void setParentBoneID(String parentBoneID)
Set the active bone ID.
void setShadingStyle(int value)
Set the shading style of the gradient
void setTransitionType(int value)
Set the transition type of the gradient
void setXOffset(int value)
Set the x-offset of the gradient
void setYOffset(int value)
Set the Y-offset of the gradient
Protected Methods
void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
/** Utility method for collecting the bean's state and save it on a string representation
[Expand]
Inherited Methods
From class com.microstrategy.web.app.beans.AbstractViewBeanParserBean
From class com.microstrategy.web.app.beans.AbstractPersistableFrameElement
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From class com.microstrategy.web.app.beans.AbstractAppComponent
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
From class com.microstrategy.utils.serialization.AbstractPersistable
From class java.lang.Object
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.ColorGradientEditorBean
From interface com.microstrategy.web.app.beans.FrameElement
From interface com.microstrategy.web.app.beans.ReportFrameElement
From interface com.microstrategy.web.app.beans.ViewBeanParserBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public ColorGradientEditorBeanImpl ()

Public Methods

public int getAngle ()

Get the angle of the gradient

Returns
  • angle of the gradient

public String getColor1 ()

public String getColor2 ()

public String getControlID ()

public int getCurrentPreview ()

public int getGraphObjectID ()

Get the Graph Object ID

public int getGraphSeriesID ()

Get the Graph Series ID

public String getParentBoneID ()

public int getShadingStyle ()

public int getTransitionType ()

public int getXOffset ()

public int getYOffset ()

public boolean isEditor ()

Indicates whether the instance most be considered editor.

Returns
  • True.

public boolean isEnabled ()

Checks if a bean is enabled

Returns
  • true if the bean is enabled.

public void setAngle (int value)

Set the angle of the gradient

public void setColor1 (String value)

Set the first color of the gradient

public void setColor2 (String value)

Set the second color of the gradient

public void setControlID (String controlID)

Set the active control ID.

Parameters
controlID The control (of the active bone) that requested the color picker.

public void setCurrentPreview (int value)

Set the current preset gradient selection

public void setGraphObjectID (int value)

public void setGraphSeriesID (int value)

Set the Graph Series ID

public void setParentBoneID (String parentBoneID)

Set the active bone ID.

Parameters
parentBoneID The specific bone that requested the color picker.

public void setShadingStyle (int value)

Set the shading style of the gradient

public void setTransitionType (int value)

Set the transition type of the gradient

public void setXOffset (int value)

Set the x-offset of the gradient

public void setYOffset (int value)

Set the Y-offset of the gradient

Protected Methods

protected void doFlatState (FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)

/** Utility method for collecting the bean's state and save it on a string representation

Parameters
serializer FlatStateSerializer instance
howMuchState int value indicating how much state should be saved for the bean
tokenizer FlatStateTokenizer instance