Class GObjectFactory
- java.lang.Object
-
- org.eclipse.birt.chart.computation.GObjectFactory
-
- All Implemented Interfaces:
IGObjectFactory
public class GObjectFactory extends java.lang.Object implements IGObjectFactory
-
-
Constructor Summary
Constructors Constructor Description GObjectFactory()
-
Method Summary
-
-
-
Method Detail
-
instance
public static IGObjectFactory instance()
-
initInstance
public static void initInstance(IGObjectFactory tFactory)
-
createLocation
public Location createLocation(double dX, double dY)
- Specified by:
createLocation
in interfaceIGObjectFactory
-
createLocations
public Location[] createLocations(double[] xa, double[] ya)
- Specified by:
createLocations
in interfaceIGObjectFactory
-
createLocation3D
public Location3D createLocation3D(double x, double y, double z)
- Specified by:
createLocation3D
in interfaceIGObjectFactory
-
createLocation3Ds
public Location3D[] createLocation3Ds(double[] xa, double[] ya, double[] za)
- Specified by:
createLocation3Ds
in interfaceIGObjectFactory
-
createColorDefinition
public ColorDefinition createColorDefinition(int iRed, int iGreen, int iBlue, int iAlpha)
- Specified by:
createColorDefinition
in interfaceIGObjectFactory
-
createColorDefinition
public ColorDefinition createColorDefinition(int iRed, int iGreen, int iBlue)
- Specified by:
createColorDefinition
in interfaceIGObjectFactory
-
createLineAttributes
public LineAttributes createLineAttributes(ColorDefinition cd, LineStyle ls, int iThickness)
- Specified by:
createLineAttributes
in interfaceIGObjectFactory
-
createTextAlignment
public TextAlignment createTextAlignment()
- Specified by:
createTextAlignment
in interfaceIGObjectFactory
-
createText
public Text createText(java.lang.String sValue)
- Specified by:
createText
in interfaceIGObjectFactory
-
createInsets
public Insets createInsets(double dTop, double dLeft, double dBottom, double dRight)
- Specified by:
createInsets
in interfaceIGObjectFactory
-
copyOf
public Label copyOf(Label src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyCompactLabel
public Label copyCompactLabel(Label src)
- Specified by:
copyCompactLabel
in interfaceIGObjectFactory
-
createLabel
public Label createLabel()
- Specified by:
createLabel
in interfaceIGObjectFactory
-
BLACK
public ColorDefinition BLACK()
- Specified by:
BLACK
in interfaceIGObjectFactory
-
TRANSPARENT
public ColorDefinition TRANSPARENT()
- Specified by:
TRANSPARENT
in interfaceIGObjectFactory
-
GREY
public ColorDefinition GREY()
- Specified by:
GREY
in interfaceIGObjectFactory
-
createGradient
public Gradient createGradient(ColorDefinition cdStart, ColorDefinition cdEnd, double dDirectionInDegrees, boolean bCyclic)
- Specified by:
createGradient
in interfaceIGObjectFactory
-
copyOf
public ColorDefinition copyOf(ColorDefinition src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Fill copyOf(Fill src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Gradient copyOf(Gradient src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
createFontDefinition
public FontDefinition createFontDefinition(java.lang.String sName, float fSize, boolean bBold, boolean bItalic, boolean bUnderline, boolean bStrikethrough, boolean bWordWrap, double dRotation, TextAlignment ta)
- Specified by:
createFontDefinition
in interfaceIGObjectFactory
-
copyOf
public Text copyOf(Text src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public FontDefinition copyOf(FontDefinition src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Insets copyOf(Insets src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public LineAttributes copyOf(LineAttributes src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Bounds copyOf(Bounds src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Image copyOf(Image src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
createGradient
public Gradient createGradient(ColorDefinition cdStart, ColorDefinition cdEnd)
- Specified by:
createGradient
in interfaceIGObjectFactory
-
createImage
public Image createImage(java.lang.String sUrl)
- Specified by:
createImage
in interfaceIGObjectFactory
-
WHITE
public ColorDefinition WHITE()
- Specified by:
WHITE
in interfaceIGObjectFactory
-
RED
public ColorDefinition RED()
- Specified by:
RED
in interfaceIGObjectFactory
-
brighter
public ColorDefinition brighter(ColorDefinition src)
- Specified by:
brighter
in interfaceIGObjectFactory
-
darker
public ColorDefinition darker(ColorDefinition src)
- Specified by:
darker
in interfaceIGObjectFactory
-
translucent
public ColorDefinition translucent(ColorDefinition src)
- Specified by:
translucent
in interfaceIGObjectFactory
-
createBounds
public Bounds createBounds(double dLeft, double dTop, double dWidth, double dHeight)
- Specified by:
createBounds
in interfaceIGObjectFactory
-
adjusteBounds
public Bounds adjusteBounds(Bounds bo, Insets ins)
- Specified by:
adjusteBounds
in interfaceIGObjectFactory
-
scaleBounds
public Bounds scaleBounds(Bounds bo, double dScale)
- Specified by:
scaleBounds
in interfaceIGObjectFactory
-
translateBounds
public Bounds translateBounds(Bounds bo, double dTranslateX, double dTranslateY)
- Specified by:
translateBounds
in interfaceIGObjectFactory
-
scaleInsets
public Insets scaleInsets(Insets ins, double dScale)
- Specified by:
scaleInsets
in interfaceIGObjectFactory
-
max
public Insets max(Insets ins1, Insets ins2)
- Specified by:
max
in interfaceIGObjectFactory
-
copyOf
public TextAlignment copyOf(TextAlignment src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Trigger copyOf(Trigger src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
createTrigger
public Trigger createTrigger(TriggerCondition tc, Action a)
- Specified by:
createTrigger
in interfaceIGObjectFactory
-
copyMarkerNoFill
public Marker copyMarkerNoFill(Marker src)
- Specified by:
copyMarkerNoFill
in interfaceIGObjectFactory
-
copyOf
public ActionValue copyOf(ActionValue src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
copyOf
public Action copyOf(Action src)
- Specified by:
copyOf
in interfaceIGObjectFactory
-
createAction
public Action createAction(ActionType at, ActionValue av)
- Specified by:
createAction
in interfaceIGObjectFactory
-
createScriptValue
public ScriptValue createScriptValue(java.lang.String script)
- Specified by:
createScriptValue
in interfaceIGObjectFactory
-
createSeriesValue
public SeriesValue createSeriesValue(java.lang.String name)
- Specified by:
createSeriesValue
in interfaceIGObjectFactory
-
createTooltipValue
public TooltipValue createTooltipValue(int iDelay, java.lang.String sText)
- Specified by:
createTooltipValue
in interfaceIGObjectFactory
-
createTooltipValue
public TooltipValue createTooltipValue(int iDelay, java.lang.String sText, FormatSpecifier formatSpecifier)
- Specified by:
createTooltipValue
in interfaceIGObjectFactory
-
createURLValue
public URLValue createURLValue(java.lang.String sBaseUrl, java.lang.String sTarget, java.lang.String sBaseParameterName, java.lang.String sValueParameterName, java.lang.String sSeriesParameterName)
- Specified by:
createURLValue
in interfaceIGObjectFactory
-
-