public class SkipConfig extends WidgetConfig
Modifier and Type | Field and Description |
---|---|
double |
length
The number of lines (vertical) or spaces (horizontal) represented.
|
boolean |
vertical
Kind of the configuration,
true means Skip
widget, false means Space widget. |
cfgClass, contextHelpId, disableRedraw, enabled, frameDefValue, frameId, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized, zorder
Modifier | Constructor and Description |
---|---|
|
SkipConfig()
Default constructor (only used in deserialization).
|
protected |
SkipConfig(int id)
Create a new config and associate it with the given widget.
|
|
SkipConfig(WidgetId id)
Create a new config and associate it with the given widget.
|
Modifier and Type | Method and Description |
---|---|
void |
applyConfig(WidgetConfig config)
Set new values from the provided configuration instance.
|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
getConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, getDynamicUntranslatedLabel, markFieldsDirty, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, setDynamicUntranslatedLabel, toString
public double length
public boolean vertical
true
means Skip
widget, false
means Space
widget.public SkipConfig()
public SkipConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.protected SkipConfig(int id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class WidgetConfig
config
- The instance from which to take values.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class WidgetConfig
in
- The input source from which fields will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class WidgetConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.