|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.gui.dialog.control.ViewLayersGraphicStatus
This class keeps a copy of the symbology and other TOC settings and is used to detect changes in the symbollogy that must cause a redrawing of the map and a refresh of the symbology icons in the TOC.
LayersTableItem
Constructor Summary | |
ViewLayersGraphicStatus(LayersTable t)
Constructor |
Method Summary | |
java.awt.Color |
getBorderColor(int i)
Gets the border color used in the symbology of the i-th layer |
java.awt.Color |
getFillColor(int i)
Gets the fill color used in the symbology of the i-th layer |
boolean |
getFilled(int i)
Gets whether the symbology of i-th layer is filled for polygons |
long |
getId(int i)
Gets the ID of the i-th layer considered in this object |
int |
getLayerCount()
|
double |
getMaxScale(int i)
Gets the max scale of the i-th layer in this object |
double |
getMinScale(int i)
Gets the min scale of the i-th layer in this object |
int |
getStrokeWidth(int i)
Gets the width of the stroke used in the symbology of the i-th layer |
boolean |
getVisible(int i)
Gets whether the i-th layer in this object is visible |
boolean |
isSame(ViewLayersGraphicStatus stt)
Tells whether there have been changes between the old TOC settings and the ones provided |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ViewLayersGraphicStatus(LayersTable t)
t
- The LayersTable to be monitoredMethod Detail |
public long getId(int i)
i
- index of the referenced layer
public double getMaxScale(int i)
i
- the index of the layer
public double getMinScale(int i)
i
- the index of the layer
public boolean getVisible(int i)
i
- the index of the layer
public java.awt.Color getBorderColor(int i)
i
- the index of the layer
public java.awt.Color getFillColor(int i)
i
- the index of the layer
public boolean getFilled(int i)
i
- the index of the layer
public int getStrokeWidth(int i)
i
- the idnex of the layer
public int getLayerCount()
public boolean isSame(ViewLayersGraphicStatus stt)
stt
- TOC settings to be compared with previous ones
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |