de.jreality.ui
Class AppearanceInspector
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.jreality.ui.AppearanceInspector
- All Implemented Interfaces:
- ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener
public class AppearanceInspector
- extends JPanel
- implements ActionListener, ChangeListener
- See Also:
- Serialized Form
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
AppearanceInspector
public AppearanceInspector()
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged
in interface ChangeListener
getTextures
public Map<String,String> getTextures()
setTextures
public void setTextures(HashMap<String,String> textures)
setColorPickerMode
public void setColorPickerMode(int mode)
getAppearance
public Appearance getAppearance()
setAppearance
public void setAppearance(Appearance appearance)
getMaximalRadius
public double getMaximalRadius()
getObjectScale
public double getObjectScale()
setObjectScale
public void setObjectScale(double d)
setMaximalRadius
public void setMaximalRadius(double maximalRadius)
getLogarithmicRange
public int getLogarithmicRange()
setLogarithmicRange
public void setLogarithmicRange(int logarithmicRange)
isShowPoints
public boolean isShowPoints()
setShowPoints
public void setShowPoints(boolean selected)
isSpheres
public boolean isSpheres()
setSpheres
public void setSpheres(boolean b)
isPointsReflecting
public boolean isPointsReflecting()
setPointsReflecting
public void setPointsReflecting(boolean b)
getPointReflection
public double getPointReflection()
setPointReflection
public void setPointReflection(double d)
getPointRadius
public double getPointRadius()
setPointRadius
public void setPointRadius(double d)
getPointColor
public Color getPointColor()
setPointColor
public void setPointColor(Color c)
isShowLines
public boolean isShowLines()
setShowLines
public void setShowLines(boolean selected)
isTubes
public boolean isTubes()
setTubes
public void setTubes(boolean b)
getLineReflection
public double getLineReflection()
setLineReflection
public void setLineReflection(double d)
getTubeRadius
public double getTubeRadius()
setTubeRadius
public void setTubeRadius(double d)
getLineColor
public Color getLineColor()
setLineColor
public void setLineColor(Color c)
isLinesReflecting
public boolean isLinesReflecting()
setLinesReflecting
public void setLinesReflecting(boolean b)
isShowFaces
public boolean isShowFaces()
setShowFaces
public void setShowFaces(boolean selected)
isFacesFlat
public boolean isFacesFlat()
setFacesFlat
public void setFacesFlat(boolean b)
isTransparencyEnabled
public boolean isTransparencyEnabled()
setTransparencyEnabled
public void setTransparencyEnabled(boolean b)
isFacesReflecting
public boolean isFacesReflecting()
setFacesReflecting
public void setFacesReflecting(boolean b)
getFaceReflection
public double getFaceReflection()
setFaceReflection
public void setFaceReflection(double d)
getTransparency
public double getTransparency()
setTransparency
public void setTransparency(double d)
getFaceColor
public Color getFaceColor()
setFaceColor
public void setFaceColor(Color c)
getTexture
public String getTexture()
setTexture
public void setTexture(String texture)
getTextureScale
public double getTextureScale()
setTextureScale
public void setTextureScale(double scale)
setShowPointLabels
public void setShowPointLabels(boolean show)
setShowLineLabels
public void setShowLineLabels(boolean show)
setShowFaceLabels
public void setShowFaceLabels(boolean show)
isShowPointLabels
public boolean isShowPointLabels()
isShowLineLabels
public boolean isShowLineLabels()
isShowFaceLabels
public boolean isShowFaceLabels()
setPointLabelColor
public void setPointLabelColor(Color color)
setLineLabelColor
public void setLineLabelColor(Color color)
setFaceLabelColor
public void setFaceLabelColor(Color color)
getPointLabelColor
public Color getPointLabelColor()
getLineLabelColor
public Color getLineLabelColor()
getFaceLabelColor
public Color getFaceLabelColor()
getPointLabelSize
public double getPointLabelSize()
getLineLabelSize
public double getLineLabelSize()
getFaceLabelSize
public double getFaceLabelSize()
setPointLabelSize
public void setPointLabelSize(double size)
setLineLabelSize
public void setLineLabelSize(double size)
setFaceLabelSize
public void setFaceLabelSize(double size)
getPointLabelResolution
public int getPointLabelResolution()
getLineLabelResolution
public int getLineLabelResolution()
getFaceLabelResolution
public int getFaceLabelResolution()
setPointLabelResolution
public void setPointLabelResolution(int res)
setLineLabelResolution
public void setLineLabelResolution(int res)
setFaceLabelResolution
public void setFaceLabelResolution(int res)
updateUI
public void updateUI()
- Overrides:
updateUI
in class JPanel