Class Transform

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component public class Transform extends Control
This class implements the component taht is used to contain other elements and can perform transformations, to obtain particular graphic effects. In this version only the rotation has been developed (which can be used, for example, to obtainbuttons positioned vertically one above the other).
See Also:
GCApi:
component
  • Field Details

    • _rotation

      protected float _rotation
  • Constructor Details

    • Transform

      public Transform()
  • Method Details

    • setROTATION

      public void setROTATION(String s)
      Sets a value for the degrees of the rotation
      Parameters:
      s - The value of the degrees of the rotation
    • getHtml

      public org.apache.ecs.Element getHtml(EntitySet es)
      Description copied from class: Component
      Abstract method that must be extended and returns the html code of the Component
      Specified by:
      getHtml in class Component
      Parameters:
      es - The EntitySet to which the element belongs
      Returns:
      The html of the Component
    • buildSetupScript

      public void buildSetupScript(StringBuilder sb)
      Adds the scripts that manage the different types of transformation.
      In this version only the rotation has been developed.
      Overrides:
      buildSetupScript in class Component
      Parameters:
      sb - The StringBuilder on which we want to add the script