public class Settings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_RENEW_SERVLET_SESSIONS
Setting name constant for the servlet session renewal behavior.
|
static String |
QUALITY_PAINT
Setting name constant for the painting quality
|
static String |
SELECT_ALL_ON_FOCUS
Deprecated.
|
static String |
SERVER_SIDE_SUFFIX |
static String |
SWAP_COLUMN_NAME_AND_CAPTION
Setting name constant for the SQL AS keyword usage in
VirtualTableColumn |
static String |
TRIM_DATA
Setting name constant for
String data handling of the
VirtualTable |
Modifier and Type | Method and Description |
---|---|
static boolean |
autoRenewServletSessions() |
static boolean |
checkUserSetting(Object value) |
static int |
getImageScaleMode() |
static String |
getServerSideSuffix() |
static boolean |
selectAllOnFocus()
Deprecated.
|
static void |
setAutoRenewServletSessions(boolean b)
Sets if expired servlet sessions are automatically renewed.
|
static void |
setSwapColumnNameAndCaption(boolean b)
Sets if the
VirtualTableColumn should use the
ColumnMetaData s name as caption or vise versa. |
static void |
setTrimData(boolean b)
Sets if the
VirtualTable should trim the String s. |
static void |
setUseQualityPaint(boolean b)
Sets if high quality painting should be used.
|
static boolean |
swapColumnNameAndCaption() |
static boolean |
trimData()
|
static boolean |
useQualityPaint() |
public static final String QUALITY_PAINT
public static final String TRIM_DATA
String
data handling of the
VirtualTable
setTrimData(boolean)
,
trimData()
,
Constant Field Values@Deprecated public static final String SELECT_ALL_ON_FOCUS
XdevTextField.setFocusGainedBehavior(xdev.ui.FocusGainedBehavior)
TextComponent
s#setSelectAllOnFocus(boolean)
,
selectAllOnFocus()
,
Constant Field Valuespublic static final String SERVER_SIDE_SUFFIX
public static final String SWAP_COLUMN_NAME_AND_CAPTION
VirtualTableColumn
public static final String AUTO_RENEW_SERVLET_SESSIONS
public static boolean useQualityPaint()
true
if high quality painting should be used,
false
otherwisesetUseQualityPaint(boolean)
,
QUALITY_PAINT
public static void setUseQualityPaint(boolean b)
useQualityPaint()
,
QUALITY_PAINT
public static int getImageScaleMode()
Image.getScaledInstance(int, int, int)
. This depends on
the QUALITY_PAINT
setting.setUseQualityPaint(boolean)
,
QUALITY_PAINT
public static boolean trimData()
true
if the VirtualTable
should trim the
String
s.
This is useful for some databases which use fixed length String
s
filled up with spaces.
true
if the VirtualTable
should trim the
String
ssetTrimData(boolean)
,
TRIM_DATA
public static void setTrimData(boolean b)
VirtualTable
should trim the String
s.trimData()
,
TRIM_DATA
@Deprecated public static boolean selectAllOnFocus()
XdevTextField.setFocusGainedBehavior(xdev.ui.FocusGainedBehavior)
public static boolean swapColumnNameAndCaption()
VirtualTableColumn
should use the
ColumnMetaData
s name as caption or vise versasetSwapColumnNameAndCaption(boolean)
,
SWAP_COLUMN_NAME_AND_CAPTION
public static void setSwapColumnNameAndCaption(boolean b)
VirtualTableColumn
should use the
ColumnMetaData
s name as caption or vise versa.swapColumnNameAndCaption()
,
SWAP_COLUMN_NAME_AND_CAPTION
public static boolean autoRenewServletSessions()
setAutoRenewServletSessions(boolean)
,
AUTO_RENEW_SERVLET_SESSIONS
public static void setAutoRenewServletSessions(boolean b)
autoRenewServletSessions()
,
AUTO_RENEW_SERVLET_SESSIONS
public static String getServerSideSuffix()
public static boolean checkUserSetting(Object value)
Copyright © 2003–2023 XDEV Software. All rights reserved.