Class Layer1ApiUserMessageModifyScreenSpacePainter

java.lang.Object
velox.api.layer1.messages.indicators.Layer1ApiUserMessageModifyScreenSpacePainter
All Implemented Interfaces:
Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromLayer

public class Layer1ApiUserMessageModifyScreenSpacePainter
extends java.lang.Object
implements Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromLayer
Describes adding or removing a screen-space painter Note that you need to remember fullName. This is a name that will be used to adress your indicator by any external parts. This name will be unique trough all indicators unless you initialize indicators with same owner class and same user name. This field will be initialized in message constructor and can be accessed after
  • Field Details

  • Method Details

    • applyNameModifier

      public void applyNameModifier​(java.lang.String modifier)
      Use if you need to distinguish painters with same user names For example, could be when creating painters with same names for different aliases Modifier should be applied before sending this message
    • predictFullName

      public static java.lang.String predictFullName​(java.lang.Class<?> myClass, java.lang.String myName)
      There is no guarantee that value returned from this method will be the same as indicator's full name
      Do not use this method to predict strategy name
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • builder

      public static Layer1ApiUserMessageModifyScreenSpacePainter.Builder builder​(java.lang.Class<?> strategyClass, java.lang.String userName)
      Returns:
      created builder