Class ModelScreenWidget.SectionsRenderer

  • All Implemented Interfaces:
    java.util.Map<java.lang.String,​ModelScreenWidget>
    Enclosing class:
    ModelScreenWidget

    public static final class ModelScreenWidget.SectionsRenderer
    extends java.lang.Object
    implements java.util.Map<java.lang.String,​ModelScreenWidget>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      SectionsRenderer​(java.util.Map<java.lang.String,​ModelScreenWidget> sectionMap, java.util.Map<java.lang.String,​java.lang.Object> context, java.lang.Appendable writer, ScreenStringRenderer screenStringRenderer)  
    • Constructor Detail

      • SectionsRenderer

        public SectionsRenderer​(java.util.Map<java.lang.String,​ModelScreenWidget> sectionMap,
                                java.util.Map<java.lang.String,​java.lang.Object> context,
                                java.lang.Appendable writer,
                                ScreenStringRenderer screenStringRenderer)
    • Method Detail

      • render

        public java.lang.String render​(java.lang.String sectionName)
                                throws GeneralException,
                                       java.io.IOException
        This is a lot like the ScreenRenderer class and returns an empty String so it can be used more easily with FreeMarker
        Throws:
        GeneralException
        java.io.IOException
      • size

        public int size()
        Specified by:
        size in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • keySet

        public java.util.Set<java.lang.String> keySet()
        Specified by:
        keySet in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • entrySet

        public java.util.Set<java.util.Map.Entry<java.lang.String,​ModelScreenWidget>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<java.lang.String,​ModelScreenWidget>
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Map<java.lang.String,​ModelScreenWidget>
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map<java.lang.String,​ModelScreenWidget>
        Overrides:
        hashCode in class java.lang.Object
      • putAll

        public void putAll​(java.util.Map<? extends java.lang.String,​? extends ModelScreenWidget> m)
        Specified by:
        putAll in interface java.util.Map<java.lang.String,​ModelScreenWidget>