Class SizingPolicy

java.lang.Object
org.teamapps.ux.component.format.SizingPolicy

public class SizingPolicy
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static SizingPolicy AUTO  
    static SizingPolicy FRACTION  
  • Constructor Summary

    Constructors
    Constructor Description
    SizingPolicy​(SizeType type, float value, int minAbsoluteSize)  
  • Method Summary

    Modifier and Type Method Description
    org.teamapps.dto.UiSizingPolicy createUiSizingPolicy()  
    static SizingPolicy fixed​(float sizeInPixels)  
    int getMinAbsoluteSize()  
    SizeType getType()  
    float getValue()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SizingPolicy

      public SizingPolicy​(SizeType type, float value, int minAbsoluteSize)
  • Method Details

    • fixed

      public static SizingPolicy fixed​(float sizeInPixels)
    • getType

      public SizeType getType()
    • getValue

      public float getValue()
    • getMinAbsoluteSize

      public int getMinAbsoluteSize()
    • createUiSizingPolicy

      public org.teamapps.dto.UiSizingPolicy createUiSizingPolicy()