|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphicLegend
Used to represent a Rule (or other construct) in a user interface or legend.
modules/library/api (gt-api.jar)
Method Summary | |
---|---|
AnchorPoint |
getAnchorPoint()
|
Displacement |
getDisplacement()
|
Expression |
getOpacity()
|
Expression |
getRotation()
|
Expression |
getSize()
The size of the mark if specified. |
List<GraphicalSymbol> |
graphicalSymbols()
The items in this list are either a Mark or a ExternalGraphic. |
void |
setAnchorPoint(AnchorPoint anchor)
|
void |
setDisplacement(Displacement displacement)
|
void |
setOpacity(Expression opacity)
|
void |
setSize(Expression size)
Indicates the size at which the graphic should be displayed. |
Methods inherited from interface GraphicLegend |
---|
accept |
Method Detail |
---|
AnchorPoint getAnchorPoint()
getAnchorPoint
in interface Graphic
void setAnchorPoint(AnchorPoint anchor)
Displacement getDisplacement()
getDisplacement
in interface Graphic
void setDisplacement(Displacement displacement)
Expression getOpacity()
getOpacity
in interface Graphic
void setOpacity(Expression opacity)
Expression getRotation()
getRotation
in interface Graphic
Expression getSize()
If unspecified:
getSize
in interface Graphic
void setSize(Expression size)
If this value is null the natural size of the graphic will be used; or for graphics without a natural size like SVG files 16x16 will be used.
size
- List<GraphicalSymbol> graphicalSymbols()
This list may be directly edited; the items are considered in order from most preferred (say an SVG file) to least preferred (a simple shape) with the intension that the system will make use of the first entry which it is capabile of displaying.
graphicalSymbols
in interface Graphic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |