Package org.apache.ofbiz.widget.model
Class ModelScreenWidget.SectionsRenderer
- java.lang.Object
-
- org.apache.ofbiz.widget.model.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>
-
-
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
java.util.Set<java.util.Map.Entry<java.lang.String,ModelScreenWidget>>
entrySet()
boolean
equals(java.lang.Object o)
ModelScreenWidget
get(java.lang.Object key)
int
hashCode()
boolean
isEmpty()
java.util.Set<java.lang.String>
keySet()
ModelScreenWidget
put(java.lang.String key, ModelScreenWidget value)
void
putAll(java.util.Map<? extends java.lang.String,? extends ModelScreenWidget> m)
ModelScreenWidget
remove(java.lang.Object key)
java.lang.String
render(java.lang.String sectionName)
This is a lot like the ScreenRenderer class and returns an empty String so it can be used more easily with FreeMarkerint
size()
java.util.Collection<ModelScreenWidget>
values()
-
-
-
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 interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
get
public ModelScreenWidget get(java.lang.Object key)
- Specified by:
get
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
put
public ModelScreenWidget put(java.lang.String key, ModelScreenWidget value)
- Specified by:
put
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
remove
public ModelScreenWidget remove(java.lang.Object key)
- Specified by:
remove
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
keySet
public java.util.Set<java.lang.String> keySet()
- Specified by:
keySet
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
values
public java.util.Collection<ModelScreenWidget> values()
- Specified by:
values
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
entrySet
public java.util.Set<java.util.Map.Entry<java.lang.String,ModelScreenWidget>> entrySet()
- Specified by:
entrySet
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
- Overrides:
hashCode
in classjava.lang.Object
-
putAll
public void putAll(java.util.Map<? extends java.lang.String,? extends ModelScreenWidget> m)
- Specified by:
putAll
in interfacejava.util.Map<java.lang.String,ModelScreenWidget>
-
-