Class SinglePointServer

java.lang.Object
sec.web.renderer.SinglePointServer

public class SinglePointServer extends Object
Author:
Robert.Bathmann
  • Constructor Details

    • SinglePointServer

      public SinglePointServer(int port)
    • SinglePointServer

      public SinglePointServer(int port, int backlog)
  • Method Details

    • start

      public void start()
    • stop

      public void stop()
    • getPortNumber

      public int getPortNumber()
    • getSinglePointDimensions

      public void getSinglePointDimensions(String SymbolInfo, Point2D center)
      Deprecated.
      - use version with Rentangle2D bounds parameter.
      Parameters:
      SymbolInfo - - same string you'd send to singlePointServer.handle()
      center - - Pixel location that represents where the image should be centered.
    • getSinglePointDimensions

      public void getSinglePointDimensions(String SymbolInfo, Point2D center, Rectangle2D bounds)
      Parameters:
      SymbolInfo - - same string you'd send to singlePointServer.handle()
      center - - pixel location that represents where the image should be centered.
      bounds - - Minimum Bounding Rectangle of the core symbol
    • getSinglePointDimensions

      public void getSinglePointDimensions(String SymbolInfo, Point2D center, Rectangle2D bounds, Dimension2D iconExtent)
      Parameters:
      SymbolInfo - - same string you'd send to singlePointServer.handle()
      center - - pixel location that represents where the image should be centered.
      bounds - - Minimum Bounding Rectangle of the core symbol
      iconExtent - - width and height of the image.
    • getSinglePointByteArray

      public byte[] getSinglePointByteArray(String SymbolInfo)
    • setTacticalGraphicPointSize

      public void setTacticalGraphicPointSize(int size)
    • setUnitPointSize

      public void setUnitPointSize(int size)