public class LayoutCatalog extends Object
Modifier and Type | Method and Description |
---|---|
void |
addAllLayouts(Map<String,LayoutTO> in) |
void |
addLayout(LayoutTO layout) |
AliasCatalog |
getAliases() |
DefaultProvider |
getDefaults() |
static LayoutCatalog |
getInstance() |
LayoutTO |
getLayout(BaseNameSpaceTO name)
Retrieve's a layout according to the base name.
|
LayoutTO |
getLayout(String fullname)
Same as
#getLayout(String, String) but instead of passing both partsof the name separated, the "fullname" is passed. |
Map<String,LayoutTO> |
getLayouts()
Recupera o
|
LayoutTO |
getLayoutTO(LayoutSelector selector)
Apply the selector to retrieve the matching layout.
|
Locale |
getLocale() |
MaskCatalog |
getMasks() |
PluginCatalog |
getPlugins()
Recupera o
|
void |
setLocale(Locale locale) |
void |
setLocale(String locale) |
public static LayoutCatalog getInstance()
public LayoutTO getLayout(BaseNameSpaceTO name)
LayoutTO
public LayoutTO getLayout(String fullname)
#getLayout(String, String)
but instead of passing both partsfullname
- The full name of the layoutLayoutTO
BaseNameSpaceTO#getFullName(namePrefix, nameSufix)
public LayoutTO getLayoutTO(LayoutSelector selector)
selector
- The selector to be used to choose a layout.public PluginCatalog getPlugins()
public void addLayout(LayoutTO layout)
public void setLocale(Locale locale)
public void setLocale(String locale)
public Locale getLocale()
public DefaultProvider getDefaults()
public AliasCatalog getAliases()
public MaskCatalog getMasks()
Copyright © 2014. All Rights Reserved.