Package org.javlo.template
Class TemplateData
- java.lang.Object
-
- org.javlo.template.TemplateData
-
public class TemplateData extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
COLOR_LIST_SIZE
static TemplateData
EMPTY
-
Constructor Summary
Constructors Constructor Description TemplateData()
TemplateData(String rawData)
-
Method Summary
-
-
-
Field Detail
-
COLOR_LIST_SIZE
public static final int COLOR_LIST_SIZE
- See Also:
- Constant Field Values
-
EMPTY
public static final TemplateData EMPTY
-
-
Constructor Detail
-
TemplateData
public TemplateData()
-
TemplateData
public TemplateData(String rawData)
-
-
Method Detail
-
getColorList
public CssColor[] getColorList()
-
setColorList
public void setColorList(Color color, int i)
-
isColorListFilled
public boolean isColorListFilled()
-
getPrimaryBackground
public Color getPrimaryBackground()
-
getBackgroundMenu
public Color getBackgroundMenu()
-
getBackgroundActive
public Color getBackgroundActive()
-
getBorder
public Color getBorder()
-
getForeground
public Color getForeground()
-
getLink
public Color getLink()
-
getLogo
public String getLogo()
-
getText
public Color getText()
-
getTextMenu
public Color getTextMenu()
-
getToolsServer
public String getToolsServer()
-
setPrimaryBackground
public void setPrimaryBackground(Color background)
-
setBackgroundMenu
public void setBackgroundMenu(Color backgroundMenu)
-
setBackgroundActive
public void setBackgroundActive(Color backgroundActive)
-
setBorder
public void setBorder(Color border)
-
setForeground
public void setForeground(Color foreGround)
-
setLink
public void setLink(Color link)
-
setLogo
public void setLogo(String logo)
-
setText
public void setText(Color text)
-
setTextMenu
public void setTextMenu(Color textMenu)
-
setToolsServer
public void setToolsServer(String toolsServer)
-
getTitle
public CssColor getTitle()
-
setTitle
public void setTitle(Color title)
-
getSpecial
public CssColor getSpecial()
-
setSpecial
public void setSpecial(Color special)
-
hashCodeForDeployTemplate
public int hashCodeForDeployTemplate()
check difference between two template data, some difference don't need deploy, some need deploy- Returns:
-
getFontText
public String getFontText()
-
setFontText
public void setFontText(String font)
-
getMessagePrimary
public CssColor getMessagePrimary()
-
setMessagePrimary
public void setMessagePrimary(Color messagePrimary)
-
getMessageSecondary
public CssColor getMessageSecondary()
-
setMessageSecondary
public void setMessageSecondary(Color messageSecondary)
-
getMessageSuccess
public CssColor getMessageSuccess()
-
setMessageSuccess
public void setMessageSuccess(Color messageSuccess)
-
getMessageDanger
public CssColor getMessageDanger()
-
setMessageDanger
public void setMessageDanger(Color messageDanger)
-
getMessageWarning
public CssColor getMessageWarning()
-
setMessageWarning
public void setMessageWarning(Color messageWarning)
-
getMessageInfo
public CssColor getMessageInfo()
-
setMessageInfo
public void setMessageInfo(Color messageInfo)
-
getSecondaryBackground
public CssColor getSecondaryBackground()
-
setSecondaryBackground
public void setSecondaryBackground(Color secondaryBackground)
-
isFixMenu
public boolean isFixMenu()
-
setFixMenu
public void setFixMenu(boolean fixMenu)
-
isLargeMenu
public boolean isLargeMenu()
-
setLargeMenu
public void setLargeMenu(boolean largeMenu)
-
isSearchMenu
public boolean isSearchMenu()
-
setSearchMenu
public void setSearchMenu(boolean search)
-
isJssearchMenu
public boolean isJssearchMenu()
-
setJssearchMenu
public void setJssearchMenu(boolean jssearch)
-
isDropdownMenu
public boolean isDropdownMenu()
-
setDropdownMenu
public void setDropdownMenu(boolean dropdown)
-
getFontHeading
public String getFontHeading()
-
setFontHeading
public void setFontHeading(String fontHeading)
-
isSmall
public boolean isSmall()
-
setSmall
public void setSmall(boolean small)
-
isLarge
public boolean isLarge()
-
setLarge
public void setLarge(boolean large)
-
isLoginMenu
public boolean isLoginMenu()
-
setLoginMenu
public void setLoginMenu(boolean login)
-
isFixSidebar
public boolean isFixSidebar()
-
setFixSidebar
public void setFixSidebar(boolean fixSidebar)
-
isMenuLeft
public boolean isMenuLeft()
-
setMenuLeft
public void setMenuLeft(boolean menuLeft)
-
isMenuCenter
public boolean isMenuCenter()
-
setMenuCenter
public void setMenuCenter(boolean menuCenter)
-
isMenuRight
public boolean isMenuRight()
-
setMenuRight
public void setMenuRight(boolean menuRight)
-
isMenuAround
public boolean isMenuAround()
-
setMenuAround
public void setMenuAround(boolean menuBetween)
-
getMenuAlign
public String getMenuAlign()
-
isExtendSub
public boolean isExtendSub()
-
setExtendSub
public void setExtendSub(boolean extendSub)
-
getPrimaryColor
public CssColor getPrimaryColor()
-
setPrimaryColor
public void setPrimaryColor(CssColor primaryColor)
-
getSecondaryColor
public CssColor getSecondaryColor()
-
setSecondaryColor
public void setSecondaryColor(CssColor secondaryColor)
-
getThirdColor
public CssColor getThirdColor()
-
setThirdColor
public void setThirdColor(CssColor thirdColor)
-
-