@Override
 public void storeStates(Controller c) throws Exception {
   c.storeProperty(getClass(), "size", getContentSize());
   c.storeProperty(getClass(), "offset", getVerticalOffset());
   super.storeStates(c);
 }
Пример #2
0
 @Override
 public void storeStates(Controller c) throws Exception {
   c.storeProperty(getClass(), "textures", textureInspector.getTextures());
   c.storeProperty(getClass(), "texture", textureInspector.getActiveTexture());
   c.storeProperty(getClass(), "textureScale", textureInspector.getTextureUScale());
   c.storeProperty(getClass(), "visible", isVisible());
   c.storeProperty(getClass(), "faceColor", getFaceColor());
   c.storeProperty(getClass(), "transparency", getTransparency());
   c.storeProperty(getClass(), "transparencyEnabled", isTransparencyEnabled());
   c.storeProperty(getClass(), "facesReflecting", isFacesReflecting());
   c.storeProperty(getClass(), "faceReflection", getFaceReflection());
   c.storeProperty(getClass(), "reflectSceneContent", isReflectSceneContent());
   c.storeProperty(getClass(), "visible", isVisible());
   super.storeStates(c);
 }