jas.hist
Class ManagedAxis
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
jas.plot.PlotComponent
jas.plot.Axis
jas.hist.ManagedAxis
- All Implemented Interfaces:
- JASHistAxis, HasPopupItems, ImageObserver, MenuContainer, Externalizable, Serializable
public final class ManagedAxis
- extends Axis
- implements JASHistAxis, Externalizable
- See Also:
- Serialized Form
Methods inherited from class jas.plot.Axis |
getAxisColor, getAxisOrientation, getAxisOriginDotColor, getAxisWidth, getMajorTickMarkColor, getMaxLocation, getMinLocation, getMinorTickMarkColor, getOnLeftSide, getTextColor, getType, setAxisColor, setAxisOrientation, setAxisOriginDotColor, setAxisWidth, setBounds, setFont, setMajorTickMarkColor, setMinorTickMarkColor, setOnLeftSide, setTextColor, setType |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, 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, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, 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, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
ManagedAxis
public ManagedAxis()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
isVertical
public boolean isVertical()
- Specified by:
isVertical
in interface JASHistAxis
isLogarithmic
public boolean isLogarithmic()
- Specified by:
isLogarithmic
in interface JASHistAxis
setLogarithmic
public void setLogarithmic(boolean value)
- Specified by:
setLogarithmic
in interface JASHistAxis
isShowing
public boolean isShowing()
- Specified by:
isShowing
in interface JASHistAxis
- Overrides:
isShowing
in class Component
setShowing
public void setShowing(boolean value)
- Specified by:
setShowing
in interface JASHistAxis
getLabelObject
public EditableLabel getLabelObject()
- Specified by:
getLabelObject
in interface JASHistAxis
- Returns:
- the EditableLabel itself, not just the text
- See Also:
getLabel()
getLabel
public String getLabel()
- Specified by:
getLabel
in interface JASHistAxis
- Returns:
- the label text
- See Also:
getLabelObject()
setLabelObject
public void setLabelObject(EditableLabel p_newLabel)
- sets the label to be the EditableLabel passed in
- Specified by:
setLabelObject
in interface JASHistAxis
- Parameters:
p_newLabel
- the new label
setLabel
public void setLabel(String s)
- sets the label text, creating the label if needed
- Specified by:
setLabel
in interface JASHistAxis
- Parameters:
s
- the new text of the label
getMin
public double getMin()
- Specified by:
getMin
in interface JASHistAxis
setMin
public void setMin(double d)
- Specified by:
setMin
in interface JASHistAxis
getMax
public double getMax()
- Specified by:
getMax
in interface JASHistAxis
setMax
public void setMax(double d)
- Specified by:
setMax
in interface JASHistAxis
setRange
public void setRange(double min,
double max)
- Specified by:
setRange
in interface JASHistAxis
getMinObject
public Object getMinObject()
- Specified by:
getMinObject
in interface JASHistAxis
getMaxObject
public Object getMaxObject()
- Specified by:
getMaxObject
in interface JASHistAxis
setMinObject
public void setMinObject(Object value)
- Specified by:
setMinObject
in interface JASHistAxis
setMaxObject
public void setMaxObject(Object value)
- Specified by:
setMaxObject
in interface JASHistAxis
getRangeAutomatic
public boolean getRangeAutomatic()
- Specified by:
getRangeAutomatic
in interface JASHistAxis
setRangeAutomatic
public void setRangeAutomatic(boolean b)
- Specified by:
setRangeAutomatic
in interface JASHistAxis
getAllowSuppressedZero
public boolean getAllowSuppressedZero()
- Specified by:
getAllowSuppressedZero
in interface JASHistAxis
setAllowSuppressedZero
public void setAllowSuppressedZero(boolean b)
- Specified by:
setAllowSuppressedZero
in interface JASHistAxis
isBinned
public boolean isBinned()
- Specified by:
isBinned
in interface JASHistAxis
setBinned
public void setBinned(boolean value)
isFixed
public boolean isFixed()
- Specified by:
isFixed
in interface JASHistAxis
setFixed
public void setFixed(boolean value)
getBins
public int getBins()
- Specified by:
getBins
in interface JASHistAxis
setBins
public void setBins(int value)
- Specified by:
setBins
in interface JASHistAxis
getBinWidth
public double getBinWidth()
- Specified by:
getBinWidth
in interface JASHistAxis
setBinWidth
public void setBinWidth(double value)
- Specified by:
setBinWidth
in interface JASHistAxis
getShowOverflows
public boolean getShowOverflows()
- Specified by:
getShowOverflows
in interface JASHistAxis
setShowOverflows
public void setShowOverflows(boolean value)
- Specified by:
setShowOverflows
in interface JASHistAxis
getLabelPosition
public int getLabelPosition()
- Specified by:
getLabelPosition
in interface JASHistAxis
setLabelPosition
public void setLabelPosition(int pos)
- Specified by:
setLabelPosition
in interface JASHistAxis
getPosition
public int getPosition()
- Specified by:
getPosition
in interface JASHistAxis
setPosition
public void setPosition(int value)
- Specified by:
setPosition
in interface JASHistAxis
getAxisType
public int getAxisType()
- Specified by:
getAxisType
in interface JASHistAxis
setAxisType
public void setAxisType(int value)
- Specified by:
setAxisType
in interface JASHistAxis
modifyPopupMenu
public void modifyPopupMenu(JPopupMenu menu,
Component source)
- Description copied from interface:
HasPopupItems
- Modify the given menu object.
- Specified by:
modifyPopupMenu
in interface HasPopupItems
- Overrides:
modifyPopupMenu
in class Axis
Copyright © 2000-2009 FreeHEP. All Rights Reserved.