ilog.views.maps.graphic.style
Class IlvGeneralPathStyle

java.lang.Object
  extended by ilog.views.maps.graphic.style.IlvMapStyle
      extended by ilog.views.maps.graphic.style.IlvGeneralPathStyle
All Implemented Interfaces:
IlvPersistentObject, IlvInheritable
Direct Known Subclasses:
IlvMeasurePathStyle

public class IlvGeneralPathStyle
extends IlvMapStyle

The IlvGeneralPathStyle is used to style a IlvMapGeneralPath graphic.

Since:
JViews 7.5

Field Summary
static String END_CAP
          The EndCap property name.
static String FILL_ON
          The FillOn property name.
static String FILL_PAINT
          The FillPaint property name.
static String FOREGROUND
          The Foreground property name.
static String LINE_JOIN
          The LineJoin property name.
static String LINE_STYLE
          The LineStyle property name.
static String PAINT_ABSOLUTE
          The PaintAbsolute property name.
static String PAINT_ZOOMED
          The PaintZoomed property name.
static String STROKE
          The Stroke property name.
static String STROKE_ON
          The StrokeOn property name.
static String STROKE_PAINT
          The StrokePaint property name.
static String STROKE_WIDTH
          The StrokeWidth property name.
 
Fields inherited from class ilog.views.maps.graphic.style.IlvMapStyle
ALPHA, ALWAYS_ON_TOP, ATTRIBUTE_INFO, CATEGORY, LABEL_ATTRIBUTE, LEGEND_GROUP, PARENT, THIN_CLIENT_BACKGROUND, VISIBLE_IN_3DVIEW, VISIBLE_IN_OVERVIEW, VISIBLE_IN_TREE, VISIBLE_IN_VIEW
 
Constructor Summary
IlvGeneralPathStyle()
          Constructs a IlvGeneralPathStyle
IlvGeneralPathStyle(IlvGeneralPathStyle source)
          Constructor by copy
IlvGeneralPathStyle(IlvInputStream stream)
          Read a IlvGeneralPathStyle from an IlvInputStream
 
Method Summary
 IlvMapStyle copy()
          Creates a copy of the style.
 boolean equals(Object o)
          Indicates whether some other object is "equal to" this one.
 int getEndCap()
          Retrieves the EndCap property value.
 Paint getFillPaint()
          Retrieves the FillPaint property value.
 Color getForeground()
          Retrieve the FOREGROUND attribute value.
 int getLineJoin()
          Retrieves the LineJoin property value.
 float[] getLineStyle()
          Retrieves the LineStyle property value.
 Stroke getStroke()
          Retrieves the Stroke property value.
 Paint getStrokePaint()
          Retrieves the StrokePaint property value.
 float getStrokeWidth()
          Retrieves the StrokeWidth property value.
 int hashCode()
          
 boolean isFillOn()
          Retrieves the FillOn property value.
 boolean isPaintAbsolute()
          Retrieves the PaintAbsolute property value.
 boolean isPaintZoomed()
          Retrieves the PaintZoomed property value.
 boolean isStrokeOn()
          Retrieves the StrokeOn property value.
 void setEndCap(int cap)
          Sets the EndCap property value.
 void setFillOn(boolean on)
          Sets the FillOn property value.
 void setFillPaint(Paint p)
          Sets the FillPaint property value.
 void setForeground(Color c)
          Sets the Foreground attribute value.
 void setLineJoin(int join)
          Sets the LineJoin property value.
 void setLineStyle(float[] style)
          Sets the LineStyle property value.
 void setPaintAbsolute(boolean on)
          Sets the PaintAbsolute property value.
 void setPaintZoomed(boolean on)
          Sets the PaintZoomed property value.
 void setStroke(Stroke stroke)
          Sets the Stroke property value.
 void setStrokeOn(boolean on)
          Sets the StrokeOn property value.
 void setStrokePaint(Paint p)
          Sets the StrokePaint property value.
 void setStrokeWidth(float width)
          Sets the StrokeWidth property value.
 void write(IlvOutputStream stream)
          Write an IlvGeneralPathStyle int an IlvOutputStream
 
Methods inherited from class ilog.views.maps.graphic.style.IlvMapStyle
addAttributeListener, addChild, addStyleListener, addWeakStyleListener, getAlpha, getAttribute, getAttribute, getAttributeFilter, getAttributeInfo, getAttributeListeners, getCategory, getChildren, getDefaultValues, getGraphic, getLabelAttribute, getLegendGroup, getListeners, getParent, getStyleListeners, isAlwaysOnTop, isInherited, isThinClientBackground, isVisibleIn3DView, isVisibleInOverview, isVisibleInTree, isVisibleInView, objectEquals, removeAttributeListener, removeChild, removeStyleListener, setAlpha, setAlwaysOnTop, setAttribute, setAttributeFilter, setAttributeInfo, setCategory, setGraphic, setInherited, setLabelAttribute, setLegendGroup, setParent, setThinClientBackground, setVisibleIn3DView, setVisibleInOverview, setVisibleInTree, setVisibleInView
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOREGROUND

public static final String FOREGROUND
The Foreground property name.

See Also:
Constant Field Values

FILL_PAINT

public static final String FILL_PAINT
The FillPaint property name.

See Also:
Constant Field Values

STROKE_PAINT

public static final String STROKE_PAINT
The StrokePaint property name.

See Also:
Constant Field Values

FILL_ON

public static final String FILL_ON
The FillOn property name.

See Also:
Constant Field Values

STROKE_ON

public static final String STROKE_ON
The StrokeOn property name.

See Also:
Constant Field Values

PAINT_ABSOLUTE

public static final String PAINT_ABSOLUTE
The PaintAbsolute property name.

See Also:
Constant Field Values

STROKE_WIDTH

public static final String STROKE_WIDTH
The StrokeWidth property name.

See Also:
Constant Field Values

PAINT_ZOOMED

public static final String PAINT_ZOOMED
The PaintZoomed property name.

See Also:
Constant Field Values

END_CAP

public static final String END_CAP
The EndCap property name.

See Also:
Constant Field Values

LINE_JOIN

public static final String LINE_JOIN
The LineJoin property name.

See Also:
Constant Field Values

LINE_STYLE

public static final String LINE_STYLE
The LineStyle property name.

See Also:
Constant Field Values

STROKE

public static final String STROKE
The Stroke property name.

See Also:
Constant Field Values
Constructor Detail

IlvGeneralPathStyle

public IlvGeneralPathStyle()
Constructs a IlvGeneralPathStyle


IlvGeneralPathStyle

public IlvGeneralPathStyle(IlvInputStream stream)
                    throws IlvReadFileException
Read a IlvGeneralPathStyle from an IlvInputStream

Parameters:
stream - The stream to read from.
Throws:
IlvReadFileException

IlvGeneralPathStyle

public IlvGeneralPathStyle(IlvGeneralPathStyle source)
Constructor by copy

Parameters:
source - source style to copy
Method Detail

copy

public IlvMapStyle copy()
Creates a copy of the style.

Overrides:
copy in class IlvMapStyle
Returns:
a new IlvGeneralPathStyle

write

public void write(IlvOutputStream stream)
           throws IOException
Write an IlvGeneralPathStyle int an IlvOutputStream

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvMapStyle
Parameters:
stream - The stream to write into.
Throws:
IOException

hashCode

public int hashCode()

Overrides:
hashCode in class IlvMapStyle

equals

public boolean equals(Object o)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class IlvMapStyle
See Also:
IlvMapStyle.equals(java.lang.Object)

getForeground

public Color getForeground()
Retrieve the FOREGROUND attribute value.

Returns:
The FOREGROUND attribute value.

setForeground

public void setForeground(Color c)
Sets the Foreground attribute value.

Parameters:
c - The FOREGROUND attribute value as a Color

setFillPaint

public void setFillPaint(Paint p)
Sets the FillPaint property value.

Parameters:
p - The new FillPaint property value.

getFillPaint

public Paint getFillPaint()
Retrieves the FillPaint property value.

Returns:
The FillPaint property value.

setStrokePaint

public void setStrokePaint(Paint p)
Sets the StrokePaint property value.

Parameters:
p - The new StrokePaint property value.

getStrokePaint

public Paint getStrokePaint()
Retrieves the StrokePaint property value.

Returns:
The StrokePaint property value.

setFillOn

public void setFillOn(boolean on)
Sets the FillOn property value.

Parameters:
on - The new FillOn Property value.

isFillOn

public boolean isFillOn()
Retrieves the FillOn property value.

Returns:
The FillOn property value.

setStrokeOn

public void setStrokeOn(boolean on)
Sets the StrokeOn property value.

Parameters:
on - The new StrokeOn property value.

isStrokeOn

public boolean isStrokeOn()
Retrieves the StrokeOn property value.

Returns:
The StrokeOn property value.

setPaintAbsolute

public void setPaintAbsolute(boolean on)
Sets the PaintAbsolute property value.

Parameters:
on - The new StrokeOn property value.

isPaintAbsolute

public boolean isPaintAbsolute()
Retrieves the PaintAbsolute property value.

Returns:
The PaintAbsolute property value.

setStrokeWidth

public void setStrokeWidth(float width)
Sets the StrokeWidth property value.

Parameters:
width - The new StrokeWidth Property value.

getStrokeWidth

public float getStrokeWidth()
Retrieves the StrokeWidth property value.

Returns:
The StrokeWidth property value.

setPaintZoomed

public void setPaintZoomed(boolean on)
Sets the PaintZoomed property value.

Parameters:
on - The new PaintZoomed property value.

isPaintZoomed

public boolean isPaintZoomed()
Retrieves the PaintZoomed property value.

Returns:
The PaintZoomed property value.

getEndCap

public int getEndCap()
Retrieves the EndCap property value.

Returns:
The EndCap property value.

setEndCap

public void setEndCap(int cap)
Sets the EndCap property value.

Parameters:
cap - The new EndCap property value.

getLineJoin

public int getLineJoin()
Retrieves the LineJoin property value.

Returns:
The LineJoin property value.

setLineJoin

public void setLineJoin(int join)
Sets the LineJoin property value.

Parameters:
join - The new EndCap property value.

getLineStyle

public float[] getLineStyle()
Retrieves the LineStyle property value.

Returns:
The LineStyle property value.

setLineStyle

public void setLineStyle(float[] style)
Sets the LineStyle property value.

Parameters:
style - The new EndCap property value.

setStroke

public void setStroke(Stroke stroke)
Sets the Stroke property value.

Parameters:
stroke - The new Stroke property value.

getStroke

public Stroke getStroke()
Retrieves the Stroke property value.

Returns:
The Stroke property value.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.