Class PrintSizeStrategy


  • public abstract class PrintSizeStrategy
    extends java.lang.Object
    The static instance members of this class aid in the calculation of prints and help abstract out the minimum/preferred size concepts to simplify algorithms.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PrintSizeStrategy()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract org.eclipse.swt.graphics.Point computeSize​(PrintIterator print)
      Computes the size of the PrintIterator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrintSizeStrategy

        private PrintSizeStrategy()
    • Method Detail

      • computeSize

        public abstract org.eclipse.swt.graphics.Point computeSize​(PrintIterator print)
        Computes the size of the PrintIterator.
        Parameters:
        print - the iterator
        Returns:
        the computed size of the PrintIterator.