|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer
ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer
ilog.cpl.graph.css.renderer.IlpBackgroundsRenderer
ilog.cpl.network.renderer.IlpBackgroundsRenderer
public class IlpBackgroundsRenderer
This class gives control over the backgrounds of an IlpNetworkView.
This class is a CSS stylable bean that can be configured via CSS. One can not only configure the background(s) to be used, but also define a background color or simply an image that is to used fill the background by repeating this image over and over again.
For more details on how to do adjust this configuration see this section of the User's Manual: Graphic Components > Network Component > Configuring the Network Component > Configuring a Network Component through a CSS File > The Backgrounds Rule
More complex background types can be take advantage of the XML format for backgrounds. For more details see this section of the User's Manual: Graphic Components > Network Component > Network Component Services > Background Support > Advanced > XML Background Format
IlpNetworkView,
IlpBackgroundCSSConfiguration,
IlpBackgroundSupport| Constructor Summary | |
|---|---|
IlpBackgroundsRenderer()
|
|
| Method Summary | |
|---|---|
Color |
getBackgroundColor()
Returns the background of the view. |
String |
getBackgroundPattern()
Returns the location of the background pattern of the view. |
IlpBackgroundSupport |
getBackgroundSupport()
Returns the background support object currently in use. |
void |
setBackgroundColor(Color bg)
Changes the background of the view. |
void |
setBackgroundPattern(String patternLocation)
Changes the background pattern of the view. |
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpBackgroundsRenderer |
|---|
getCSSID, reset |
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer |
|---|
attach, getView, noteContainerAdded, noteContainerUpdated |
| Methods inherited from class ilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer |
|---|
detach, getContext, getGraphicView, isRendererEnabled, setRendererEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpBackgroundsRenderer()
| Method Detail |
|---|
public IlpBackgroundSupport getBackgroundSupport()
getBackgroundSupport in class ilog.cpl.graph.css.renderer.IlpBackgroundsRendererpublic Color getBackgroundColor()
Note that changing the background of the view may be useless if the view is transparent or if the view has a background pattern defined.
getBackgroundColor in class ilog.cpl.graph.css.renderer.IlpBackgroundsRenderergetBackgroundPattern()public void setBackgroundColor(Color bg)
Note that changing the background of the view may be useless if the view is transparent or if the view has a background pattern defined.
setBackgroundColor in class ilog.cpl.graph.css.renderer.IlpBackgroundsRendererbg - The background color.public String getBackgroundPattern()
The background pattern is an image that is used to fill the background of the view.
This method may return null if the view
has no background pattern.
getBackgroundPattern in class ilog.cpl.graph.css.renderer.IlpBackgroundsRendererpublic void setBackgroundPattern(String patternLocation)
The background pattern is an image that is used to fill the background of the view.
setBackgroundPattern in class ilog.cpl.graph.css.renderer.IlpBackgroundsRendererpatternLocation - The URL of the image, or null to remove the pattern.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||