|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.vajhoej.model.app.Data
public class Data
Class Data contains the data from an setup XML file.
Constructor Summary | |
---|---|
Data(Persister persist,
AppLookAndFeel laf,
int width,
int height,
AllGraphicConfig config,
java.util.List<BoxPalette> boxPalette,
java.util.List<ComponentPalette> componentPalette,
java.util.List<ConnectionPalette> connectionPalette,
java.util.Map<java.lang.String,java.lang.Boolean> showPalette,
ExtModel model)
Create instance of Data. |
Method Summary | |
---|---|
java.util.List<BoxPalette> |
getBoxPalette()
Get all box palettes. |
java.util.List<ComponentPalette> |
getComponentPalette()
Get all component palettes. |
AllGraphicConfig |
getConfig()
Get all graphic configuration. |
java.util.List<ConnectionPalette> |
getConnectionPalette()
Get all connection palettes. |
int |
getHeight()
Get height. |
AppLookAndFeel |
getLaf()
Get L&F. |
ExtModel |
getModel()
Get the model. |
Persister |
getPersist()
Get persister. |
java.util.Map<java.lang.String,java.lang.Boolean> |
getShowPalette()
Get show palettes. |
int |
getWidth()
Get width. |
boolean |
isReadonly()
Get readonly status. |
void |
setHeight(int height)
Set height. |
void |
setModel(ExtModel model)
Set the model. |
void |
setReadonly(boolean readonly)
Set readonly status. |
void |
setWidth(int width)
Set width. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Data(Persister persist, AppLookAndFeel laf, int width, int height, AllGraphicConfig config, java.util.List<BoxPalette> boxPalette, java.util.List<ComponentPalette> componentPalette, java.util.List<ConnectionPalette> connectionPalette, java.util.Map<java.lang.String,java.lang.Boolean> showPalette, ExtModel model)
persist
- persisterlaf
- L&Fconfig
- all graphic configurationsboxPalette
- all box palettescomponentPalette
- all component palettesconnectionPalette
- all connection palettesshowPalette
- show palettesmodel
- the modelMethod Detail |
---|
public Persister getPersist()
public AppLookAndFeel getLaf()
public int getWidth()
public void setWidth(int width)
width
- widthpublic int getHeight()
public void setHeight(int height)
height
- heightpublic AllGraphicConfig getConfig()
public java.util.List<BoxPalette> getBoxPalette()
public java.util.List<ComponentPalette> getComponentPalette()
public java.util.List<ConnectionPalette> getConnectionPalette()
public java.util.Map<java.lang.String,java.lang.Boolean> getShowPalette()
public ExtModel getModel()
public void setModel(ExtModel model)
model
- the modelpublic boolean isReadonly()
public void setReadonly(boolean readonly)
readonly
- readonly statuspublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |