Package hec.geometry
Class CategoryAxis
java.lang.Object
java.util.Observable
hec.geometry.Axis
hec.geometry.CategoryAxis
- All Implemented Interfaces:
AdjustmentListener,Serializable,EventListener
Copyright (C) 2017 Hydrologic Engineering Center,
United States Army Corps of Engineers, All Rights Reserved
HEC-Java NEXGEN
- See Also:
-
Field Summary
Fields inherited from class hec.geometry.Axis
_axisProp, CATEGORY, COMPUTED_SCALE, DEBUG, DEFAULT_AXIS_MAX, DEFAULT_AXIS_MIN, LABEL_CHANGE, LINEAR, LOGARITHMIC, m_observerList, NEW_ZOOM, PROBABILITY, SEASONAL, TIME, XAXIS, YAXIS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFind a nice tic intervalgetCategoryName(int streamOrder) intbooleanvoidsetCategoryNames(Map<Integer, String> names) voidsetReversed(boolean reversed) Methods inherited from class hec.geometry.Axis
addObserver, adjustmentValueChanged, computeAutoViewValues, computeScaling, computeScaling, computeScaling, computeScrollPosition, computeTicInterval, deleteObserver, deleteObservers, getActMax, getActMin, getAxisProp, getDataMax, getDataMin, getDataUnitSystem, getDisplayUnitsString, getDisplayUnitSystem, getLabel, getMajorTic, getMax, getMin, getMinorTic, getName, getNumTicLabelLevels, getObserverList, getOldDisplayUnitSystem, getOrigin, getParameterId, getRatedValue, getRatingFunction, getReversed, getScaledLabel, getScaleMax, getScaleMin, getSigFig, getThousPow, getThousScale, getTicColor, getTicColorString, getTicTextColor, getTicTextColorString, getType, getUnRatedValue, getViewMax, getViewMin, getWorldExtents, getWorldRange, getZoom, growToGlyphBounds, growWorldExtents, invalidateWorldExtents, isComputingMajorTics, isComputingMinorTics, isUsingAutomaticMaximum, isUsingAutomaticMinimum, isUsingAutomaticViewMaximum, isUsingAutomaticViewMinimum, isUsingDefaultLimits, l2w, l2wE, popLabel, pushLabel, rateAxis, setActualMaximumValue, setActualMinimumValue, setAutomaticMaximumOff, setAutomaticMaximumOn, setAutomaticMinimumOff, setAutomaticMinimumOn, setAutomaticViewMaximumOff, setAutomaticViewMaximumOn, setAutomaticViewMinimumOff, setAutomaticViewMinimumOn, setAxisProp, setComputeMajorTics, setComputeMajorTicsOff, setComputeMajorTicsOn, setComputeMinorTics, setComputeMinorTicsOff, setComputeMinorTicsOn, setDataUnitSystem, setDefaultExtents, setDisplayScaleFactor, setDisplayUnitSystem, setLabel, setMajorTicInterval, setMaximumFactionDigits, setMaximumLimit, setMinimumLimit, setMinMax, setMinorTicInterval, setName, setNumberOfTicLabelLayers, setNumTicLabelLevels, setOrigin, setParameterId, setRatingFunction, setRatingFunction, setReversedOff, setReversedOn, setScaleLimits, setTicColor, setTicColor, setTicTextColor, setTicTextColor, setUnit, setUseDefaultLimitsOff, setUseDefaultLimitsOn, setViewLimits, setWorldExtents, setWorldMinExtent, unZoom, updateRatedFunctionScroll, w2l, w2lE, zoomByFactor, zoomIn, zoomIn, zoomInUnModMethods inherited from class java.util.Observable
clearChanged, countObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
CategoryAxis
-
-
Method Details
-
setCategoryNames
-
getNumCategories
public int getNumCategories() -
getCategoryStreams
-
getCategoryName
-
setReversed
public void setReversed(boolean reversed) - Overrides:
setReversedin classAxis
-
isReversed
public boolean isReversed()- Overrides:
isReversedin classAxis
-
computeNiceMinMax
public void computeNiceMinMax()Description copied from class:AxisFind a nice tic interval- Overrides:
computeNiceMinMaxin classAxis
-