Class StyleProxy
java.lang.Object
org.eclipse.nebula.widgets.nattable.style.StyleProxy
- All Implemented Interfaces:
IStyle
- Direct Known Subclasses:
CellStyleProxy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStyleProxy(ConfigAttribute<IStyle> styleConfigAttribute, IConfigRegistry configRegistry, String targetDisplayMode, List<String> configLabels) Deprecated.StyleProxy(ConfigAttribute<IStyle> styleConfigAttribute, IConfigRegistry configRegistry, DisplayMode targetDisplayMode, List<String> configLabels) -
Method Summary
Modifier and TypeMethodDescription<T> TgetAttributeValue(ConfigAttribute<T> styleAttribute) Returns the configured value for the givenConfigAttribute.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.nebula.widgets.nattable.style.IStyle
getAttributeValue, setAttributeValue
-
Field Details
-
configRegistry
- Since:
- 2.0
-
-
Constructor Details
-
StyleProxy
@Deprecated public StyleProxy(ConfigAttribute<IStyle> styleConfigAttribute, IConfigRegistry configRegistry, String targetDisplayMode, List<String> configLabels) Deprecated.Use constructor withDisplayModeparameter.- Parameters:
styleConfigAttribute- The style config attribute.configRegistry- TheIConfigRegistry.targetDisplayMode- TheDisplayMode.configLabels- The config labels.
-
StyleProxy
public StyleProxy(ConfigAttribute<IStyle> styleConfigAttribute, IConfigRegistry configRegistry, DisplayMode targetDisplayMode, List<String> configLabels) - Parameters:
styleConfigAttribute- The style config attribute.configRegistry- TheIConfigRegistry.targetDisplayMode- TheDisplayMode.configLabels- The config labels.- Since:
- 2.0
-
-
Method Details
-
getAttributeValue
Description copied from interface:IStyleReturns the configured value for the givenConfigAttribute.- Specified by:
getAttributeValuein interfaceIStyle- Type Parameters:
T- The value type of the styleConfigAttribute.- Parameters:
styleAttribute- The requested styleConfigAttribute.- Returns:
- The value for the given
ConfigAttributeornullif no value is found.
-
DisplayModeparameter.