Interface StyleApplicator

  • All Known Implementing Classes:
    StyleCapture

    public interface StyleApplicator
    The minimal interface implemented by objects that can apply a Style to other objects.
    Since:
    3.0
    Author:
    Chris Jennings
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void apply​(java.lang.Object o)
      Applies style properties to the specified object by calling appropriate setters defined in a Style subinterface.
    • Method Detail

      • apply

        void apply​(java.lang.Object o)
        Applies style properties to the specified object by calling appropriate setters defined in a Style subinterface. If the object does not implement any Style interface, then this will have no effect. An applicator is not required to set every style property supported by the object, or to affect all objects that implement the same styles equally.
        Parameters:
        o - the target object to apply style information to