public class SimpleAppearanceInspector extends JPanel implements ActionListener, ChangeListener, ColorChooseJButton.ColorChangedListener
Appearance
plugin.JComponent.AccessibleJComponent
Component.BaselineResizeBehavior
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
SimpleAppearanceInspector() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
colorChanged(ColorChooseJButton.ColorChangedEvent cce) |
Appearance |
getAppearance() |
Color |
getFaceColor() |
Color |
getLineColor() |
int |
getLogarithmicRange() |
double |
getMaximalRadius() |
double |
getObjectScale() |
Color |
getPointColor() |
double |
getPointRadius() |
double |
getTransparency() |
double |
getTubeRadius() |
boolean |
isEditFaces() |
boolean |
isEditLines() |
boolean |
isEditPoints() |
boolean |
isFacesFlat() |
boolean |
isShowFaces() |
boolean |
isShowLines() |
boolean |
isShowPoints() |
boolean |
isSpheres() |
boolean |
isTransparencyEnabled() |
boolean |
isTubes() |
void |
setAppearance(Appearance appearance) |
void |
setFaceColor(Color c) |
void |
setFacesFlat(boolean b) |
void |
setLineColor(Color c) |
void |
setLogarithmicRange(int logarithmicRange) |
void |
setMaximalRadius(double maximalRadius) |
void |
setObjectScale(double d) |
void |
setPointColor(Color c) |
void |
setPointRadius(double d) |
void |
setShowFaces(de.jreality.ui.SimpleAppearanceInspector.FaceState state) |
void |
setShowLines(de.jreality.ui.SimpleAppearanceInspector.LinesState state) |
void |
setShowPoints(de.jreality.ui.SimpleAppearanceInspector.VertexState state) |
void |
setSpheres(boolean b) |
void |
setTransparency(double d) |
void |
setTransparencyEnabled(boolean b) |
void |
setTubeRadius(double d) |
void |
setTubes(boolean b) |
void |
stateChanged(ChangeEvent e) |
void |
updateEnabledStates() |
void |
updateUI() |
getAccessibleContext, getUI, getUIClassID, setUI
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, hide, 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
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
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, 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
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
public void updateEnabledStates()
public Appearance getAppearance()
public void setAppearance(Appearance appearance)
public double getMaximalRadius()
public double getObjectScale()
public void setObjectScale(double d)
public void setMaximalRadius(double maximalRadius)
public int getLogarithmicRange()
public void setLogarithmicRange(int logarithmicRange)
public boolean isEditPoints()
public boolean isShowPoints()
public void setShowPoints(de.jreality.ui.SimpleAppearanceInspector.VertexState state)
public boolean isSpheres()
public void setSpheres(boolean b)
public double getPointRadius()
public void setPointRadius(double d)
public Color getPointColor()
public void setPointColor(Color c)
public boolean isEditLines()
public boolean isShowLines()
public void setShowLines(de.jreality.ui.SimpleAppearanceInspector.LinesState state)
public boolean isTubes()
public void setTubes(boolean b)
public double getTubeRadius()
public void setTubeRadius(double d)
public Color getLineColor()
public void setLineColor(Color c)
public boolean isEditFaces()
public boolean isShowFaces()
public void setShowFaces(de.jreality.ui.SimpleAppearanceInspector.FaceState state)
public boolean isFacesFlat()
public void setFacesFlat(boolean b)
public boolean isTransparencyEnabled()
public void setTransparencyEnabled(boolean b)
public double getTransparency()
public void setTransparency(double d)
public Color getFaceColor()
public void setFaceColor(Color c)
public void colorChanged(ColorChooseJButton.ColorChangedEvent cce)
colorChanged
in interface ColorChooseJButton.ColorChangedListener