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 |
---|---|
static String |
DOT_SEPARATOR
The dot separator used by fxml declaration.
|
static String |
FXML_EXT
The fxml file 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, equals, getKey, hasChanged, hasChanged, hashCode, readBoolean, readDouble, readInteger, setKey, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
activateAutoRefresh, getKey, hasChanged, hasChanged, setKey
public StringProperty absolutePathProperty
public StringProperty fxmlNameProperty
public StringProperty absoluteBundlePathProperty
public StringProperty bundleNameProperty
public static final String PATH_SEPARATOR
public static final String DOT_SEPARATOR
public static final String FXML_EXT
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 String absolutePath()
absolutePath
in interface FXMLParams
public StringProperty absolutePathProperty()
public String fxmlName()
fxmlName
in interface FXMLParams
public StringProperty fxmlNameProperty()
public String absoluteBundlePath()
absoluteBundlePath
in interface FXMLParams
public StringProperty absoluteBundlePathProperty()
public String bundleName()
bundleName
in interface FXMLParams
public StringProperty bundleNameProperty()
public String getFxmlPath()
getFxmlPath
in interface FXMLParams
public String getBundlePath()
getBundlePath
in interface FXMLParams
public void parse(String... parameters)
parse
in interface ResourceParams
parameters
- split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry
object.getFieldValues
in class AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.