org.vizzini.ui.graphics
Interface IViewerSwing

All Superinterfaces:
IJPopupMenuOwner, IViewer
All Known Implementing Classes:
AbstractViewerSwing, ObjectViewerJava3D, ObjectViewerSwing

public interface IViewerSwing
extends IViewer, IJPopupMenuOwner

Defines methods required by a Swing 3D viewer.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
 
Fields inherited from interface org.vizzini.ui.graphics.IViewer
MAGNIFICATION_FACTOR
 
Method Summary
 void addPopupMenu()
          Add a new popup menu to this component.
 void addStarfieldBackground(int starCount)
          Add a starfield background.
 JPopupMenu createPopupMenu()
          Create a new popup menu.
 Action getZoomInAction()
          Return the zoom in action.
 Action getZoomOutAction()
          Return the zoom out action.
 boolean isShapeMenuUsed()
           
 void setShapeMenuUsed(boolean isShapeMenuUsed)
           
 
Methods inherited from interface org.vizzini.ui.graphics.IViewer
add, getMagnify, getPerspectiveConstant, isViewPointLightUsed, remove, setCanvasBackground, setMagnify, setMagnifyPanelVisible, setPerspectiveConstant, setViewPointLightUsed, setXScrollBarBlockIncrement, setXScrollBarUnitIncrement, setXScrollBarValues, setXScrollBarVisible, setYScrollBarBlockIncrement, setYScrollBarUnitIncrement, setYScrollBarValues, setYScrollBarVisible, setZScrollBarBlockIncrement, setZScrollBarUnitIncrement, setZScrollBarValues, setZScrollBarVisible, update
 
Methods inherited from interface org.vizzini.ui.IJPopupMenuOwner
addToPopupMenu, addToPopupMenu, insertIntoPopupMenu, insertIntoPopupMenu
 

Method Detail

addPopupMenu

void addPopupMenu()
Add a new popup menu to this component.

Since:
v0.3

addStarfieldBackground

void addStarfieldBackground(int starCount)
Add a starfield background.

Parameters:
starCount - Number of stars to use.
Since:
v0.3

createPopupMenu

JPopupMenu createPopupMenu()
Create a new popup menu.

Since:
v0.3

getZoomInAction

Action getZoomInAction()
Return the zoom in action.

Since:
v0.3

getZoomOutAction

Action getZoomOutAction()
Return the zoom out action.

Since:
v0.3

isShapeMenuUsed

boolean isShapeMenuUsed()
Returns:
Return isShapeMenuUsed.
Since:
v0.3

setShapeMenuUsed

void setShapeMenuUsed(boolean isShapeMenuUsed)
Parameters:
isShapeMenuUsed - the isShapeMenuUsed to set
Since:
v0.3


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02