Package de.gsi.dataset.spi
Class AbstractStylable<D extends DataSet>
- java.lang.Object
-
- de.gsi.dataset.spi.AbstractStylable<D>
-
- Type Parameters:
D- java generics handling of DataSet for derived classes (needed for fluent design)
- All Implemented Interfaces:
DataSet,EventSource
- Direct Known Subclasses:
AbstractDataSet
public abstract class AbstractStylable<D extends DataSet> extends java.lang.Object implements DataSet
Class to define CSS-based style features N.B. needed for DataSet and rendering styling- Author:
- rstein
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetStyle()A string representation of the CSS style associated with this specificNode.protected DgetThis()DsetStyle(java.lang.String style)A string representation of the CSS style associated with this specificDataSet.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.gsi.dataset.DataSet
getDataCount, getDataCount, getDataLabel, getName, getStyle, getUndefValue, getValue, getX, getXIndex, getXMax, getXMin, getXValues, getY, getYIndex, getYMax, getYMin, getYValues, isAutoNotification, lock, setAutoNotifaction, unlock
-
Methods inherited from interface de.gsi.dataset.event.EventSource
addListener, invokeListener, invokeListener, removeListener, updateEventListener
-
-
-
-
Method Detail
-
getThis
protected D getThis()
-
getStyle
public java.lang.String getStyle()
A string representation of the CSS style associated with this specificNode. This is analogous to the "style" attribute of an HTML element. Note that, like the HTML style attribute, this variable contains style properties and values and not the selector portion of a style rule.
-
setStyle
public D setStyle(java.lang.String style)
Description copied from interface:DataSetA string representation of the CSS style associated with this specificDataSet. This is analogous to the "style" attribute of an HTML element. Note that, like the HTML style attribute, this variable contains style properties and values and not the selector portion of a style rule.
-
-