public class StyleSheet extends AbstractBaseParams implements StyleSheetParams
| Type | Property and Description |
|---|---|
StringProperty |
name
Name property.
|
StringProperty |
path
Path property.
|
BooleanProperty |
skipStylesFolder
Return the skipStylesFolderProperty property.
|
| Modifier and Type | Field and Description |
|---|---|
private StringProperty |
nameProperty
The style sheet name (without .css extension).
|
private StringProperty |
pathProperty
The style sheet path.
|
private BooleanProperty |
skipStylesFolderProperty
The flag used to skip the fontsFolder prefix addition.
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
StyleSheet(String name)
Default Constructor.
|
StyleSheet(String path,
String name)
Default Constructor.
|
StyleSheet(String path,
String name,
boolean skipStylesFolder)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
String |
name()
Gets the image name.
|
StringProperty |
nameProperty()
Name property.
|
void |
parse(String[] parameters)
Parse a string to initialize fields.
|
String |
path()
Gets the image path.
|
StringProperty |
pathProperty()
Path property.
|
boolean |
skipStylesFolder()
Return the skipStylesFolder flag.
|
BooleanProperty |
skipStylesFolderProperty()
Return the skipStylesFolderProperty property.
|
activateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeyprivate final StringProperty pathProperty
private final StringProperty nameProperty
private final BooleanProperty skipStylesFolderProperty
public StyleSheet(String path, String name, boolean skipStylesFolder)
path - the style sheet local pathname - the style sheet nameskipStylesFolder - skip fontsFolder usagepublic StyleSheet(String path, String name)
path - the style sheet local pathname - the style sheet namepublic StyleSheet(String name)
name - the style sheet file namepublic String path()
path in interface StyleSheetParamspublic StringProperty pathProperty()
public String name()
name in interface StyleSheetParamspublic StringProperty nameProperty()
public boolean skipStylesFolder()
public BooleanProperty skipStylesFolderProperty()
public void parse(String[] parameters)
parse in interface ResourceParamsparameters - split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry object.getFieldValues in class AbstractBaseParamsCopyright © 2011–2014 JRebirth OSS. All rights reserved.