public class FXML extends AbstractBaseParams implements FXMLParams
| Type | Property and Description |
|---|---|
StringProperty |
absoluteBundlePath
Absolute bundle path property.
|
StringProperty |
absolutePath
Absolute path property.
|
StringProperty |
bundleName
Bundle name property.
|
StringProperty |
fxmlName
Fxml name property.
|
| Modifier and Type | Field and Description |
|---|---|
private StringProperty |
absoluteBundlePath
The absolute path used to retrieved resource bundle file if different of fxml one.
|
private StringProperty |
absolutePath
The absolute path used to retrieved fxml file and resource bundle.
|
private StringProperty |
bundleName
The FXML resource bundle name (without .properties extension).
|
static String |
DOT_SEPARATOR
The dot separator used by fxml declaration.
|
static String |
FXML_EXT
The fxml file extension.
|
private StringProperty |
fxmlName
The FXML file name (without .fxml extension).
|
static String |
PATH_SEPARATOR
The path separator used by fxml declaration.
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
FXML(String name)
Default Constructor.
|
FXML(String globalPath,
String globalName)
Default Constructor.
|
FXML(String fxmlPath,
String fxmlName,
String bundlePath,
String bundleName)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
absoluteBundlePath()
Gets the absolute path for resource bundle.
|
StringProperty |
absoluteBundlePathProperty()
Absolute bundle path property.
|
String |
absolutePath()
Gets the absolute path for fxml (and for resource bundle if bundle path is null).
|
StringProperty |
absolutePathProperty()
Absolute path property.
|
String |
bundleName()
Gets the resource bundle file name (without suffix).
|
StringProperty |
bundleNameProperty()
Bundle name property.
|
String |
fxmlName()
Gets the FXML file name (and resource bundle file name if bundle name is null).
|
StringProperty |
fxmlNameProperty()
Fxml name property.
|
String |
getBundlePath()
Return the full path of the resource bundle file without .properties extension.
|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
String |
getFxmlPath()
Return the full path of the fxml file without .fxml extension.
|
void |
parse(String[] parameters)
Parse a string to initialize fields.
|
activateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeypublic static final String PATH_SEPARATOR
public static final String DOT_SEPARATOR
public static final String FXML_EXT
private final StringProperty absolutePath
private final StringProperty absoluteBundlePath
private final StringProperty fxmlName
private final StringProperty bundleName
public FXML(String fxmlPath, String fxmlName, String bundlePath, String bundleName)
fxmlPath - the fxml file absolute pathfxmlName - the fxml file namebundlePath - the resource bundle absolute pathbundleName - the resource bundle file namepublic FXML(String globalPath, String globalName)
globalPath - the path iused to laod fxml and resource bundle filesglobalName - the fxml and resource bundle name (without suffix)public FXML(String name)
name - the fxml and resource bundle file namepublic String absolutePath()
absolutePath in interface FXMLParamspublic StringProperty absolutePathProperty()
public String fxmlName()
fxmlName in interface FXMLParamspublic StringProperty fxmlNameProperty()
public String absoluteBundlePath()
absoluteBundlePath in interface FXMLParamspublic StringProperty absoluteBundlePathProperty()
public String bundleName()
bundleName in interface FXMLParamspublic StringProperty bundleNameProperty()
public String getFxmlPath()
getFxmlPath in interface FXMLParamspublic String getBundlePath()
getBundlePath in interface FXMLParamspublic 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.