Package armyc2.c5isr.renderer
Class MilStdIconRenderer
java.lang.Object
armyc2.c5isr.renderer.MilStdIconRenderer
This class is used for rendering icons that represent the single point graphics in the MilStd 2525.
It can also be used for rendering icon previews for multipoint graphics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
AddCustomSymbol
(MSInfo msInfo, SVGInfo svgInfo) Add a custom framed symbol to the renderer's collectionChecks symbol codes and returns whether they can be rendered.static MilStdIconRenderer
void
boolean
isReady()
-
Constructor Details
-
MilStdIconRenderer
public MilStdIconRenderer()
-
-
Method Details
-
getInstance
-
init
- Parameters:
context
-
-
isReady
-
CanRender
Checks symbol codes and returns whether they can be rendered. For multi-point graphics, modifiers are ignored because we don't need that information to show preview icons in the SymbolPicker.- Parameters:
symbolID
- 20-30 digit 2525D Symbol ID Codeattributes
- (currently unused)- Returns:
- true if the basic form of the graphic can be rendered
-
RenderIcon
-
RenderSVG
-
getRendererID
-
AddCustomSymbol
Add a custom framed symbol to the renderer's collection- Parameters:
msInfo
-svgInfo
-- Returns:
-