jsynoptic.builtin
Class HistoryShape.HookedTextShape

java.lang.Object
  extended by simtools.shapes.AbstractShape
      extended by jsynoptic.builtin.Abstract1DShape
          extended by jsynoptic.builtin.Abstract2DShape
              extended by jsynoptic.builtin.TextShape
                  extended by jsynoptic.builtin.HistoryShape.HookedTextShape
All Implemented Interfaces:
java.awt.Shape, java.io.Serializable, java.lang.Cloneable, ContextualActionProvider, DataSourceConsumer, Linkable, SelectionContextualActionProvider, AffineTransformData.Listener, DataSourceListener, EndNotificationListener, Resizable, MapperListener, NamedProperties
Enclosing class:
HistoryShape

public static class HistoryShape.HookedTextShape
extends TextShape

Override methods called when data source change. => the first cell listens to data source Changes are propagated.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jsynoptic.builtin.TextShape
TextShape.TextShapePropertiesNames
 
Nested classes/interfaces inherited from class jsynoptic.builtin.Abstract2DShape
Abstract2DShape.Abstract2DShapePropertiesNames
 
Nested classes/interfaces inherited from class jsynoptic.builtin.Abstract1DShape
Abstract1DShape.Abstract1DShapePropertiesNames
 
Nested classes/interfaces inherited from class simtools.shapes.AbstractShape
AbstractShape.AbstractShapePropertiesNames
 
Field Summary
protected  HistoryShape owner
           
 
Fields inherited from class jsynoptic.builtin.TextShape
baseline, boldFont, charNumber, currentFont, dateFormatPattern, dateTimeFormatter, decimalFormatter, DEFAULT_DISPLAY_COMMENTS, DEFAULT_DISPLAY_NAME, DEFAULT_DISPLAY_UNIT, DEFAULT_DISPLAY_VALUE, DEFAULT_FIXED_FONT, DEFAULT_FIXED_FRAME, DEFAULT_FORMAT, DEFAULT_TEXT_FONT, DEFAULT_TEXT_SIZE, DEFAUT_CHAR_NUMBER, dirtyColor, dirtyState, dirtyText, displayDsComments, displayDsName, displayDsUnit, displayDsValue, displayPattern, fontName, fontSize, fontYScaleFactor, format, FORMAT_BINARY, FORMAT_DATE, FORMAT_DATE_TIME, FORMAT_DECIMAL, FORMAT_HEXADECIMAL, FORMAT_MAPPER, FORMAT_OCTAL, FORMAT_PRINTF, FORMAT_SCIENTIFIC, FORMAT_STRING, FORMAT_TIME, FORMAT_USE_DATA_SOURCE, groupTextDigits, italicFont, lockedFont, lockedFrame, longTimeFormatPattern, mapper, marginEnabled, MARGINX, MARGINY, MIN_HEIGHT, MIN_WIDTH, printfFormat, printfFormater, referenceFont, referenceFontMetrics, referenceGraphics, referenceMutex, resources, scientificFormatter, shortTimeFormatPattern, source, sourceIndex, text, textColor, textDynamicColor, textMapper, textMapperIndex, textMapperSource, timeZone
 
Fields inherited from class jsynoptic.builtin.Abstract2DShape
dirtyFillColor, fillColor, fillDynamicColor, fillMapper, fillMapperIndex, fillMapperSource
 
Fields inherited from class jsynoptic.builtin.Abstract1DShape
allowResize, bounds2D, delegateEndNotificationListener, dirty, dirtyDrawColor, dirtyRectangle, drawColor, drawDynamicColor, drawMapper, drawMapperIndex, drawMapperSource, fixedRatio, link, MIN_SIZE, ratio, stroke, strokeParams, transform
 
Fields inherited from class simtools.shapes.AbstractShape
_h, _ox, _oy, _propertyNames, _w, _x, _y, ANTI_ALIASING, currentDialogBox, FONT_NAMES, listeners, REFRESH_PERIOD
 
Fields inherited from interface jsynoptic.base.ContextualActionProvider
EDITOR_CONTEXT, MOUSE_OUT_CONTEXT, MOUSE_OVER_CONTEXT, MOUSE_PRESSED_CONTEXT, SHAPELIST_CONTEXT, SOURCELIST_CONTEXT
 
Constructor Summary
HistoryShape.HookedTextShape(java.lang.String text, int width, int height)
           
 
Method Summary
 void notificationEnd(java.lang.Object referer)
          This callback is called after all notifications were processed.
protected  void propagate()
           
 
Methods inherited from class jsynoptic.builtin.TextShape
addDataSource, canAddDataSource, canResize, cloneShape, computeBaseLine, constructor, createPanel, createPanel, DataSourceIndexRangeChanged, DataSourceReplaced, DataSourceValueChanged, doAction, drawHook, fitBounds, fitText, formatSourceValue, getActions, getCollectiveActions, getDelegateShape, getPropertyNames, getPropertyValue, getSourceValue, getText, getTextColor, isDirtyState, mappingChanged, notifyChange, resize, setCharNumber, setDelegateEndNotificationListener, setDimensions, setDirtyState, setFont, setFormat, setLockedFont, setLockedFrame, setPrintfFormat, setPropertyValue, setSource, setText, synchronizeFormat, updateFont, updateText
 
Methods inherited from class jsynoptic.builtin.Abstract2DShape
createPanel, draw, fillHook, getFillColor
 
Methods inherited from class jsynoptic.builtin.Abstract1DShape
canDoAction, contains, contains, contains, contains, DataSourceInfoChanged, DataSourceOrderChanged, DataSourceValueRangeChanged, doCollectiveAction, getBounds, getBounds2D, getDelegateEndNotificationListener, getDrawColor, getDx, getDy, getLink, getPathIterator, getPathIterator, intersects, intersects, setAnchor, setLink, translate, updateBounds, updateTransform
 
Methods inherited from class simtools.shapes.AbstractShape
addListener, getAnchor, getInnerProperties, getMax, getMaxTranslated, getMin, notifyChange, refresh, removeListener, setAnchor, setProperties, wipeOff
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jsynoptic.base.SelectionContextualActionProvider
doCollectiveAction
 
Methods inherited from interface jsynoptic.base.ContextualActionProvider
canDoAction
 
Methods inherited from interface simtools.data.DataSourceListener
DataSourceInfoChanged, DataSourceOrderChanged, DataSourceValueRangeChanged
 

Field Detail

owner

protected transient HistoryShape owner
Constructor Detail

HistoryShape.HookedTextShape

public HistoryShape.HookedTextShape(java.lang.String text,
                                    int width,
                                    int height)
Method Detail

propagate

protected void propagate()

notificationEnd

public void notificationEnd(java.lang.Object referer)
Description copied from interface: EndNotificationListener
This callback is called after all notifications were processed. The referer object is the one to decide what the end means. For example, it may be a single data source notifying both a range change and a value change. Or it could be a collection notifying all its sources.

Specified by:
notificationEnd in interface EndNotificationListener
Overrides:
notificationEnd in class TextShape