de.jreality.plugin.content
Class CenteredAndScaledContent

java.lang.Object
  extended by Plugin
      extended by de.jreality.plugin.basic.Content
          extended by de.jreality.plugin.content.CenteredAndScaledContent
All Implemented Interfaces:
TransformationListener, java.util.EventListener, javax.swing.event.ChangeListener

public class CenteredAndScaledContent
extends Content
implements javax.swing.event.ChangeListener, TransformationListener


Nested Class Summary
 
Nested classes/interfaces inherited from class de.jreality.plugin.basic.Content
Content.ChangeEventType, Content.ContentChangedEvent, Content.ContentChangedListener
 
Constructor Summary
CenteredAndScaledContent()
           
 
Method Summary
 PluginInfo getPluginInfo()
           
 double getSize()
           
 void install(Controller c)
           
 void restoreStates(Controller c)
           
 void setContent(SceneGraphNode node)
           
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 void storeStates(Controller c)
           
 void transformationMatrixChanged(TransformationEvent ev)
           
 void uninstall(Controller c)
           
 
Methods inherited from class de.jreality.plugin.basic.Content
addContentChangedListener, addContentTool, fireContentChanged, fireContentChanged, removeContentChangedListener, removeContentTool
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CenteredAndScaledContent

public CenteredAndScaledContent()
Method Detail

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

transformationMatrixChanged

public void transformationMatrixChanged(TransformationEvent ev)
Specified by:
transformationMatrixChanged in interface TransformationListener

setContent

public void setContent(SceneGraphNode node)
Specified by:
setContent in class Content

getSize

public double getSize()

getPluginInfo

public PluginInfo getPluginInfo()

install

public void install(Controller c)
             throws java.lang.Exception
Overrides:
install in class Content
Throws:
java.lang.Exception

storeStates

public void storeStates(Controller c)
                 throws java.lang.Exception
Throws:
java.lang.Exception

restoreStates

public void restoreStates(Controller c)
                   throws java.lang.Exception
Throws:
java.lang.Exception

uninstall

public void uninstall(Controller c)
               throws java.lang.Exception
Throws:
java.lang.Exception