|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.substance.utils.params.JvmFlagsParamReader
public class JvmFlagsParamReader
Reads the properties from JVM flags. This class is for internal use only.
| Constructor Summary | |
|---|---|
JvmFlagsParamReader()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBorderPainterProperty()
Returns the value that specifies the global Substance border painter. |
java.lang.String |
getButtonShaperProperty()
Returns the value that specifies the global Substance button shaper. |
java.lang.String |
getConfigFileName()
Returns the configuration filename. |
java.lang.String |
getGradientPainterProperty()
Returns the value that specifies the global Substance gradient painter. |
protected java.lang.String |
getParameter(java.lang.String parameterName)
Retrieves a single parameter from the VM flags. |
java.lang.String |
getThemeProperty()
Returns the value that specifies the global Substance theme. |
java.lang.String |
getTitlePainterProperty()
|
java.lang.String |
getTraceFileNameProperty()
Returns the name of the trace file. |
SubstanceConstants.ImageWatermarkKind |
getWatermarkImageKindProperty()
Returns the value that specifies the kind of image-based watermark. |
java.lang.Float |
getWatermarkImageOpacityProperty()
Returns the value that specifies the opacity of image-based watermark. |
java.lang.String |
getWatermarkImageProperty()
Returns the value that specifies the image location for image-based watermark. |
java.lang.String |
getWatermarkProperty()
Returns the value that specifies the global Substance watermark. |
boolean |
isDebugUiMode()
Returns the indication whether Substance is running the application under debug UI mode. |
boolean |
toBleedWatermark()
Returns indication whether the watermark should "bleed" through usuallu opaque controls, such as trees, lists, tables and text controls (text field, text area, etc). |
boolean |
toEnableInvertedThemes()
Returns the indication whether Substance should enable inverted color themes. |
boolean |
toEnableNegatedThemes()
Returns the indication whether Substance should enable negated color themes. |
boolean |
toShowExtraElementProperty()
Returns the indication whether Substance can add additional UI elements (such as system menu items, menu search panel). |
java.lang.String |
toShowHeapStatusPanelProperty()
Returns the indication for showing the heap status panel in the custom-decorated title panes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JvmFlagsParamReader()
| Method Detail |
|---|
protected java.lang.String getParameter(java.lang.String parameterName)
parameterName - Parameter name.
public java.lang.String getButtonShaperProperty()
ParamReadernull, should be a fully-qualified class
name of a class that implements SubstanceButtonShaper.
getButtonShaperProperty in interface ParamReadernull, should be a fully-qualified
class name of a class that implements
SubstanceButtonShaper.public java.lang.String getGradientPainterProperty()
ParamReadernull, should be a fully-qualified class
name of a class that implements SubstanceGradientPainter.
getGradientPainterProperty in interface ParamReadernull, should be a fully-qualified
class name of a class that implements
SubstanceGradientPainter.public java.lang.String getTitlePainterProperty()
public java.lang.String getBorderPainterProperty()
ParamReadernull, should be a fully-qualified class
name of a class that implements SubstanceBorderPainter.
getBorderPainterProperty in interface ParamReadernull, should be a fully-qualified
class name of a class that implements
SubstanceBorderPainter.public java.lang.String getThemeProperty()
ParamReadernull, should be a fully-qualified class name of a
class that extends SubstanceTheme.
getThemeProperty in interface ParamReadernull, should be a fully-qualified class name
of a class that extends SubstanceTheme.public java.lang.String getWatermarkProperty()
ParamReadernull, should be a fully-qualified class name of a
class that implements SubstanceWatermark.
getWatermarkProperty in interface ParamReadernull, should be a fully-qualified class
name of a class that implements SubstanceWatermark.public java.lang.String getWatermarkImageProperty()
ParamReaderParamReader.getWatermarkProperty() returns the class name of
SubstanceImageWatermark. The value can point at either the local
file or remote HTTP-based file.
getWatermarkImageProperty in interface ParamReaderpublic boolean toBleedWatermark()
ParamReader
toBleedWatermark in interface ParamReaderpublic java.lang.String getTraceFileNameProperty()
ParamReader
getTraceFileNameProperty in interface ParamReadernull, the tracing mechanism will not be
activated.public boolean toShowExtraElementProperty()
ParamReader
toShowExtraElementProperty in interface ParamReadertrue if Substance can add additional UI
elements (such as system menu items, menu search panel),
false otherwise.public java.lang.String toShowHeapStatusPanelProperty()
ParamReadernull, no
heap status panel will be shown, if the value is an empty string, the
heap status panel will be shown. Otherwise, the value is taken to be the
filename for logging the heap status information (and the heap status
panel will be shown).
toShowHeapStatusPanelProperty in interface ParamReadernull, no heap status panel
will be shown.
public java.lang.String getConfigFileName()
PropertiesFileParamReader,
SubstanceLookAndFeel.CONFIG_FILEpublic boolean toEnableInvertedThemes()
ParamReader
toEnableInvertedThemes in interface ParamReadertrue if Substance should enable inverted
color themes, false otherwise.public boolean toEnableNegatedThemes()
ParamReader
toEnableNegatedThemes in interface ParamReadertrue if Substance should enable negated
color themes, false otherwise.public boolean isDebugUiMode()
ParamReader
isDebugUiMode in interface ParamReadertrue if Substance is running the
application under debug UI mode, false otherwise.public SubstanceConstants.ImageWatermarkKind getWatermarkImageKindProperty()
ParamReaderParamReader.getWatermarkProperty() returns the
class name of SubstanceImageWatermark.
getWatermarkImageKindProperty in interface ParamReaderpublic java.lang.Float getWatermarkImageOpacityProperty()
ParamReaderParamReader.getWatermarkProperty()
returns the class name of SubstanceImageWatermark.
getWatermarkImageOpacityProperty in interface ParamReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||