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