|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.intern.layout.CControlPerspectiveResource
public class CControlPerspectiveResource
An ApplicationResource that emulates reading and writing layouts
like CControl would do, but creates CPerspectives 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 CPerspectives| Method Detail |
|---|
public SettingsBlop getSettings()
public void setSettings(SettingsBlop settings)
settings - the settings to write
public void write(DataOutputStream out)
throws IOException
ApplicationResource
write in interface ApplicationResourceout - the stream to write into
IOException - if the operation can't be completed
public void read(DataInputStream in)
throws IOException
ApplicationResource
read in interface ApplicationResourcein - the stream to read from
IOException - if the operation can't be finishedpublic void writeXML(XElement element)
ApplicationResource
writeXML in interface ApplicationResourceelement - the element to write into, the attributes of
element should not be changed.public void readXML(XElement element)
ApplicationResource
readXML in interface ApplicationResourceelement - the element to read from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||