All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static boolean |
belongToSameTheme(Element element1,
Element element2) |
void |
clear()
This method is called when the object is unregistered.
|
static ThemeDescriptor |
createCustomTheme(String name) |
Layout |
createLayout() |
Style |
createStyle() |
static void |
createThemeDir() |
Widget |
createWidget() |
static ThemeDescriptor |
customizeTheme(ThemeDescriptor themeDescriptor) |
void |
deleteFormat(Format format) |
void |
deletePage(String path) |
void |
deleteTheme(String src) |
static void |
deleteThemeDescriptor(String src) |
void |
destroyElement(Element element) |
Element |
duplicateElement(Element element,
boolean duplicateFormats) |
Format |
duplicateFormat(Format format) |
void |
fillScratchPage(String themeName,
Element element) |
static Format |
getAncestorFormatOf(Format format) |
String |
getCachedStyles(String themeName,
String basePath,
String collectionName) |
static String |
getCollectionCssMarker() |
static String |
getCollectionNameByUrl(URL url) |
static List<File> |
getCustomThemeFiles() |
static String |
getCustomThemePath(String themeName) |
static String |
getDefaultTemplateEngineName() |
static String |
getDefaultTheme(String... paths) |
static String |
getDefaultTheme(String applicationPath) |
static Element |
getElementById(Integer id) |
static Element |
getElementById(String id) |
static Element |
getElementByUrl(URL url) |
static EngineType |
getEngineByUrl(URL url) |
static Format |
getFormatById(Integer id) |
static Format |
getFormatById(String id) |
List<Format> |
getFormatsByTypeName(String formatTypeName) |
Set<String> |
getFormatTypeNames() |
Map<String,Info> |
getGlobalInfoMap() |
byte[] |
getImageResource(String path) |
Long |
getLastModified(String themeName) |
Long |
getLastModified(URL url) |
ModelType |
getModelByClassname(String className) |
Identifiable |
getNamedObject(String themeName,
String realm,
String name) |
List<Identifiable> |
getNamedObjects(String themeName,
String realm) |
List<Style> |
getNamedStyles(String themeName) |
List<String> |
getOrderedResourcesAndDeps(List<String> resourceNames)
Returns all the ordered resource names and their dependencies, given a list of resources names.
|
PageElement |
getPageByPath(String path) |
static String |
getPageNameFromPagePath(String path) |
Set<String> |
getPageNames(String themeName) |
static String |
getPagePathByUrl(URL url) |
List<PageElement> |
getPagesOf(String themeName) |
static List<PageElement> |
getPagesOf(ThemeElement theme) |
static PerspectiveType |
getPerspectiveByUrl(URL url) |
String |
getResource(String name) |
static ResourceBank |
getResourceBank(String name) |
static List<ResourceBank> |
getResourceBanks() |
List<String> |
getResourceOrdering() |
List<Style> |
getSortedNamedStyles(String themeName) |
List<Style> |
getStyles() |
List<Style> |
getStyles(String themeName) |
static TemplateEngineType |
getTemplateEngineByUrl(URL url) |
static String |
getTemplateEngineName(String applicationPath) |
static List<String> |
getTemplateEngineNames() |
ThemeElement |
getThemeByName(String name) |
ThemeElement |
getThemeBySrc(String src) |
ThemeElement |
getThemeByUrl(URL url) |
static ThemeDescriptor |
getThemeDescriptor(String src) |
static ThemeDescriptor |
getThemeDescriptorByThemeName(String themeName) |
static ThemeDescriptor |
getThemeDescriptorByThemeName(String templateEngine,
String themeName) |
static List<ThemeDescriptor> |
getThemeDescriptors() |
static File |
getThemeDir() |
static String |
getThemeNameByUrl(URL url) |
String |
getThemeNameOfNamedObject(Identifiable object) |
static Set<String> |
getThemeNames() |
static Set<String> |
getThemeNames(String templateEngine) |
static ThemeElement |
getThemeOf(Element element) |
static ThemeElement |
getThemeOfFormat(Format format) |
PageElement |
getThemePageByUrl(URL url) |
ThemeSet |
getThemeSetByName(String name) |
List<ThemeSet> |
getThemeSets() |
static List<String> |
getUnusedStyleViews(Style style) |
static String |
getUrlDescription(URL url) |
static String |
getViewModeByUrl(URL url) |
static List<ViewType> |
getViewTypesForFragmentType(FragmentType fragmentType) |
static List<Format> |
listAncestorFormatsOf(Format format) |
List<Format> |
listFormats() |
static List<Format> |
listFormatsDirectlyInheritingFrom(Format format) |
static void |
loadRemoteStyle(String resourceBankName,
Style style) |
void |
loadTheme(String src) |
void |
loadTheme(String src,
String xmlSource) |
static void |
loadTheme(ThemeDescriptor themeDescriptor) |
void |
makeElementUseNamedStyle(Element element,
String inheritedName,
String themeName) |
void |
makeFormatInherit(Format format,
Format ancestor) |
void |
registerFormat(Format format) |
void |
registerModelByClassname(ModelType modelType) |
void |
registerPage(ThemeElement theme,
PageElement page) |
void |
registerTheme(ThemeElement theme) |
static void |
removeInheritanceFrom(Format ancestor) |
static void |
removeInheritanceTowards(Format descendant) |
void |
removeNamedObject(String themeName,
String realm,
String name) |
void |
removeNamedObjects(String themeName) |
void |
removeNamedStylesOf(String themeName) |
void |
removeOrphanedFormats() |
static String |
renderElement(URL url) |
static void |
repairTheme(ThemeElement theme) |
void |
resetCachedResources()
Reset cached static resources, useful for hot reload
|
static void |
saveTheme(String src) |
static void |
saveTheme(String src,
int indent) |
void |
setCachedStyles(String themeName,
String basePath,
String collectionName,
String css) |
void |
setLastModified(String themeName,
Long date) |
void |
setNamedObject(String themeName,
String realm,
Identifiable object) |
void |
setResource(String name,
String content) |
static void |
setStyleInheritance(String styleName,
String ancestorStyleName,
String themeName,
boolean allowMany) |
void |
stylesModified(String themeName) |
void |
themeModified(String themeName) |
static ThemeDescriptor |
uncustomizeTheme(ThemeDescriptor themeDescriptor) |
void |
unregisterFormat(Format format) |
void |
unregisterModelByClassname(ModelType modelType) |
void |
unregisterPage(PageElement page) |
void |
unregisterResourceOrdering(ResourceType resourceType) |
void |
unregisterTheme(ThemeElement theme) |
void |
updateResourceOrdering() |
static void |
updateThemeDescriptors() |
static boolean |
validateThemeName(String themeName) |