Uses of Class
org.proteinshader.gui.enums.StyleEnum

Packages that use StyleEnum
org.proteinshader.graphics.adapter Holds the StructureToGraphics class, which is used to manage the use of the drawing classes and OpenGL display lists. 
org.proteinshader.graphics.displaylists Holds the classes needed to manage OpenGL display lists, which are used to cache reusable geometry for spheres, cylinders, ribbon segments, and tube segments. 
org.proteinshader.gui Holds all of the Swing GUI components and their associated listeners, including class Renderer, which is registered as a listener for the GLCanvas object that is used a drawing surface. 
org.proteinshader.gui.components.controlpanel Holds the JPanels used in the right-side retractable control panel of the GUI. 
org.proteinshader.gui.components.menubar Holds the JMenus used in menu bar above the canvas. 
org.proteinshader.gui.enums Holds the enums needed by org.proteinshader.gui and its subpackages. 
 

Uses of StyleEnum in org.proteinshader.graphics.adapter
 

Methods in org.proteinshader.graphics.adapter that return StyleEnum
 StyleEnum StructureToGraphics.getStyle()
          Returns the current style (TUBES, RIBBONS, RIBBONS_AND_TUBES, FRENET_FRAMES, SPACE_FILLING, BALLS_AND_STICKS, or STICKS).
 

Methods in org.proteinshader.graphics.adapter with parameters of type StyleEnum
 void StructureToGraphics.cacheSegmentGeometry(GL gl, Model model, StyleEnum style)
          Calls on the SegmentReferences object to cache OpenGL display lists for the Segments of the current Model.
 CylinderListInfo StructureToGraphics.getCylinderInfo(StyleEnum style)
          Returns the CylinderListInfo object that holds the information on an OpenGL display list for a cylinder that is currently used for drawing Bonds.
 SphereListInfo StructureToGraphics.getSphereInfo(StyleEnum style)
          Returns the SphereListInfo object that holds the information on an OpenGL display list for a sphere that is currently used for drawing Atoms.
 void StructureToGraphics.setStyle(StyleEnum style)
          Sets the style (TUBES, RIBBONS, RIBBONS_AND_TUBES, FRENET_FRAMES, SPACE_FILLING, BALLS_AND_STICKS, or STICKS).
 

Uses of StyleEnum in org.proteinshader.graphics.displaylists
 

Methods in org.proteinshader.graphics.displaylists that return StyleEnum
 StyleEnum GeometricListInfo.getStyle()
          Returns the style that the geometric object is intended for: SPACE_FILLING, BALLS_AND_STICKS, or STICKS.
 

Methods in org.proteinshader.graphics.displaylists with parameters of type StyleEnum
 void SegmentReferences.cacheSegmentGeometry(GL gl, Model model, StyleEnum style)
          Caches an OpenGL display list for each Segment of each Region object in the Model.
 void GeometricListInfo.setStyle(StyleEnum style)
          Sets the style that this geometric object is intended for: SPACE_FILLING, BALLS_AND_STICKS, or STICKS.
 

Constructors in org.proteinshader.graphics.displaylists with parameters of type StyleEnum
CylinderListInfo(int displayListName, StyleEnum style, double baseRadius, double topRadius, double height, int slices, int stacks, boolean baseCapped, boolean topCapped, int capSlices, int capStacks)
          Constructs a CylinderListInfo.
GeometricListInfo(int displayListName, StyleEnum style)
          Constructs a GeometricListInfo.
SegmentListInfo(int displayListName, StyleEnum style)
          Constructs a SegmentListInfo.
SphereListInfo(int displayListName, StyleEnum style, double radius, int slices, int stacks)
          Constructs a SphereListInfo.
 

Uses of StyleEnum in org.proteinshader.gui
 

Methods in org.proteinshader.gui that return StyleEnum
 StyleEnum MediatorImpl.getStyle()
          Returns the current style (TUBES, RIBBONS, RIBBONS_AND_TUBES, FRENET_FRAMES, SPACE_FILLING, BALLS_AND_STICKS, or STICKS).
 StyleEnum Mediator.getStyle()
          Returns the current style (TUBES, RIBBONS, RIBBONS_AND_TUBES, FRENET_FRAMES, SPACE_FILLING, BALLS_AND_STICKS, or STICKS).
 

Methods in org.proteinshader.gui with parameters of type StyleEnum
 CylinderListInfo MediatorImpl.getCylinderInfo(StyleEnum style)
          Returns the CylinderListInfo object that holds the information on an OpenGL display list for a cylinder that is currently used for drawing Bonds.
 CylinderListInfo Mediator.getCylinderInfo(StyleEnum style)
          Returns the CylinderListInfo object that holds the information on an OpenGL display list for a cylinder that is currently used for drawing Bonds.
 SphereListInfo MediatorImpl.getSphereInfo(StyleEnum style)
          Returns the SphereListInfo object that holds the information on an OpenGL display list for a sphere that is currently used for drawing Atoms.
 SphereListInfo Mediator.getSphereInfo(StyleEnum style)
          Returns the SphereListInfo object that holds the information on an OpenGL display list for a sphere that is currently used for drawing Atoms.
 void MediatorImpl.setStyle(StyleEnum style)
          Sets the current style (TUBES, RIBBONS, RIBBONS_AND_TUBES, FRENET_FRAMES, SPACE_FILLING, BALLS_AND_STICKS, or STICKS).
 void Mediator.setStyle(StyleEnum style)
          Sets the current style (TUBES, RIBBONS, RIBBONS_AND_TUBES, FRENET_FRAMES, SPACE_FILLING, BALLS_AND_STICKS, or STICKS).
 void Renderer.setVisibleDrawables(Model model, StyleEnum style)
          An array of opaque Segments, and array of opaque Atoms and Bonds, and an array of translucent Drawable objects will be obtained from the Model.
 

Uses of StyleEnum in org.proteinshader.gui.components.controlpanel
 

Methods in org.proteinshader.gui.components.controlpanel with parameters of type StyleEnum
 void ControlPanel.updateAtomScalePanel(StyleEnum style)
          Tells the ModifierPanel to update the AtomScalePanel with the current style.
 void ModifierPanel.updateAtomScalePanel(StyleEnum style)
          Updates the AtomScalePanel so that it knows the current style.
 void AtomScalePanel.updateStyle(StyleEnum style)
          Changes will be applied only if the style is SPACE_FILLING or BALLS_AND_STICKS.
 

Uses of StyleEnum in org.proteinshader.gui.components.menubar
 

Fields in org.proteinshader.gui.components.menubar declared as StyleEnum
static StyleEnum[] StyleMenu.cartoonSubmenu
          This list determines which menu items are placed in the 'Cartoon' submenu (currently Tubes, Ribbons, and Frenet Frames).
static StyleEnum StyleMenu.INITIAL_STYLE
          The style to set as selected in the 'Style' menu.
 

Methods in org.proteinshader.gui.components.menubar that return StyleEnum
 StyleEnum StyleMenu.setToDefault()
          Sets the "Style" menu to the default INITIAL_STYLE.
 

Uses of StyleEnum in org.proteinshader.gui.enums
 

Methods in org.proteinshader.gui.enums that return StyleEnum
static StyleEnum StyleEnum.getDefaultStyle()
          Returns the default style, which is BALLS_AND_STICKS.
static StyleEnum StyleEnum.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StyleEnum StyleEnum.valueOfMenuName(String menuName)
          Returns the StyleEnum with the same menu name as the String given as an argument.
static StyleEnum[] StyleEnum.values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 



Copyright © 2007-2008