class
property to define
a completely new graphic representation for a business
object. If you just want to add new decorations to an
existing business object, define the property
children
with the new decorations.
Include property constraints
specifying how each new
decoration should be attached to the object base.@Deprecated public abstract class IltGraphicRenderer extends Object implements IlpGraphicRenderer
IltCompositeGraphic
objects.Modifier and Type | Field and Description |
---|---|
protected static Map |
managers
Deprecated.
|
Constructor and Description |
---|
IltGraphicRenderer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IlpGraphic |
createGraphic(IlpGraphicView view,
IlpRepresentationObject object,
IlpAttribute attribute,
IlpGraphicRendererContext rendererContext)
Deprecated.
Creates a new graphic representation by delegating to the four-argument
createGraphic method. |
abstract IlpGraphic |
createGraphic(IlpGraphicView view,
IltGraphicManager manager,
IlpRepresentationObject object,
IlpAttribute attribute,
IlpGraphicRendererContext rendererContext)
Deprecated.
Creates a new
IlpGraphic object. |
void |
customizeGraphic(IltGraphicElementAggregate g)
Deprecated.
Additional decorations should be added to predefined
business object representations using cascading
style sheets.
|
void |
customizeGraphic(IltGraphicElementAggregate graphic,
IlpGraphicRendererContext rendererContext)
Deprecated.
Additional decorations should be added to predefined
business object representations using cascading
style sheets.
|
static ilog.cpl.graphic.css.internal.IlpViewCSSContext |
GetCSSContext(IlpGraphicView view)
Deprecated.
Returns the CSS information for the given view.
|
static IltGraphicManager |
GetManagerForCreateGraphic(IlpGraphicView view,
IlpRepresentationObject object,
IlpAttribute attribute)
Deprecated.
Returns the IltGraphicManager in which the graphic object,
of type IltCompositeGraphic, of a given object should be
created.
|
protected static IltComponentManager |
GetManagerForView(IlpGraphicView view)
Deprecated.
|
protected static IltComponentManager |
GetManagerForWebView(IlpGraphicView view)
Deprecated.
counterpart of GetManagerForView for the web component views.
|
void |
handleSelectionAndFocus(IltGraphicManager manager,
IltCompositeGraphic cgraphic,
IltObject tgo,
IlpGraphicRendererContext rendererContext)
Deprecated.
Handle the selection and focus to reflect the rendererContext, depending
on the SELECTION_FOCUS_MODE.
|
void |
updateGraphic(IlpGraphic graphic,
IlpGraphicRendererContext rendererContext)
Deprecated.
Updates an existing
IlpGraphic to reflect the changes made
to the IlpRepresentationObject . |
void |
updateGraphicProperties(IltObject tgo,
IlpRepresentationObject object)
Deprecated.
Copies rendering-relevant attributes from the representation object
to the
IltObject that is used for graphic rendering. |
protected static Map managers
protected static IltComponentManager GetManagerForView(IlpGraphicView view)
protected static IltComponentManager GetManagerForWebView(IlpGraphicView view)
public static IltGraphicManager GetManagerForCreateGraphic(IlpGraphicView view, IlpRepresentationObject object, IlpAttribute attribute)
view
- the graphic object containerobject
- the object to be displayedattribute
- ignoredpublic static ilog.cpl.graphic.css.internal.IlpViewCSSContext GetCSSContext(IlpGraphicView view)
view
- the graphic object containerpublic IlpGraphic createGraphic(IlpGraphicView view, IlpRepresentationObject object, IlpAttribute attribute, IlpGraphicRendererContext rendererContext)
createGraphic
method.createGraphic
in interface IlpGraphicRenderer
view
- Graphic view in which the object will be displayed.object
- The representation object.attribute
- The attribute in the representation object.rendererContext
- The context which carries information to be used in the
rendering process, such as selection information.public void updateGraphic(IlpGraphic graphic, IlpGraphicRendererContext rendererContext)
IlpGraphic
to reflect the changes made
to the IlpRepresentationObject
.updateGraphic
in interface IlpGraphicRenderer
graphic
- The graphic to be updated.rendererContext
- The context which carries information to be used in the
rendering process, such as selection information.public void updateGraphicProperties(IltObject tgo, IlpRepresentationObject object)
IltObject
that is used for graphic rendering.public void handleSelectionAndFocus(IltGraphicManager manager, IltCompositeGraphic cgraphic, IltObject tgo, IlpGraphicRendererContext rendererContext)
public abstract IlpGraphic createGraphic(IlpGraphicView view, IltGraphicManager manager, IlpRepresentationObject object, IlpAttribute attribute, IlpGraphicRendererContext rendererContext)
IlpGraphic
object.
To return an IltCompositeGraphic
, this function should
use IltObject.createGraphic(manager)
to :
IltGraphic
.
IltObject.getGraphic(manager)
to retrieve it.
IltGraphic.getCompositeGraphic()
to convert it into an
IltCompositeGraphic
.
This function may also return other kinds of IlpGraphic
objects.
view
- An IlpGraphicView
.manager
- The IltGraphicManager
in which
IltGraphic
objects can be created.object
- The object to be displayed.attribute
- The attribute to be displayed, or null
.rendererContext
- The renderer context.@Deprecated public void customizeGraphic(IltGraphicElementAggregate g)
The default implementation of this function does nothing.
IltObjectCustomization.getChildren()
@Deprecated public void customizeGraphic(IltGraphicElementAggregate graphic, IlpGraphicRendererContext rendererContext)
The default implementation of this method does nothing.
graphic
- The graphic aggregate to be customized.rendererContext
- The renderer context.IltObjectCustomization.getChildren()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.