Class TLspRegularOrExtrudedStyler

All Implemented Interfaces:
ILspStyler

public class TLspRegularOrExtrudedStyler extends ALspToggleStyler
Styler that delegates to one of two wrapped stylers depending on whether the object is an ILcdExtrudedShape or not.
Since:
2012.0
  • Constructor Details

    • TLspRegularOrExtrudedStyler

      public TLspRegularOrExtrudedStyler(ILspStyler aRegularStyler, ILspStyler aExtrudedStyler)
      Default constructor
      Parameters:
      aRegularStyler - The styler that will be applied to non ILcdExtrudedShape objects.
      aExtrudedStyler - The styler that will be used for ILcdExtrudedShape objects.
  • Method Details

    • isUseSpecialStyler

      protected boolean isUseSpecialStyler(Object aObject, TLspContext aContext)
      Description copied from class: ALspToggleStyler
      Determines whether the special styler should be used.
      Specified by:
      isUseSpecialStyler in class ALspToggleStyler
      Parameters:
      aObject - the object
      aContext - provides context information
      Returns:
      whether or not the special styler should be used