|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.intern.layout.CControlPerspectiveResource
public class CControlPerspectiveResource
An ApplicationResource
that emulates reading and writing layouts
like CControl
would do, but creates CPerspective
s instead
of actual layouts.
Constructor Summary | |
---|---|
CControlPerspectiveResource(CControlPerspective control)
Creates a new resource. |
Method Summary | |
---|---|
SettingsBlop |
getSettings()
Gets the settings that were read by this resource. |
void |
read(DataInputStream in)
Reads the content of this resource from a stream of bytes. |
void |
readXML(XElement element)
Reads the contents of this resource from a xml element. |
void |
setSettings(SettingsBlop settings)
Sets the settings which should be written by this resource. |
void |
write(DataOutputStream out)
Transforms this resource in a stream of bytes. |
void |
writeXML(XElement element)
Writes the contents of this resource in xml format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CControlPerspectiveResource(CControlPerspective control)
control
- the control which creates the CPerspective
sMethod Detail |
---|
public SettingsBlop getSettings()
public void setSettings(SettingsBlop settings)
settings
- the settings to writepublic void write(DataOutputStream out) throws IOException
ApplicationResource
write
in interface ApplicationResource
out
- the stream to write into
IOException
- if the operation can't be completedpublic void read(DataInputStream in) throws IOException
ApplicationResource
read
in interface ApplicationResource
in
- the stream to read from
IOException
- if the operation can't be finishedpublic void writeXML(XElement element)
ApplicationResource
writeXML
in interface ApplicationResource
element
- the element to write into, the attributes of
element
should not be changed.public void readXML(XElement element)
ApplicationResource
readXML
in interface ApplicationResource
element
- the element to read from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |