Class Cut


  • public class Cut
    extends java.lang.Object
    Utility class used by grid exporters to create a grid for page layout.
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      Cut()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getProperty​(java.lang.String name)  
      int getUsage()  
      boolean hasProperty​(java.lang.String name)  
      boolean isBreak()  
      boolean isCutNotEmpty()
      Decides whether this cut is empty or not.
      boolean isCutSpanned()
      Decides whether this cut is occupied by spanning cells or not.
      void setProperty​(java.lang.String name, java.lang.Object value)  
      void setUsage​(int usage)  
      • Methods inherited from class java.lang.Object

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

      • Cut

        public Cut()
    • Method Detail

      • getUsage

        public int getUsage()
      • setUsage

        public void setUsage​(int usage)
      • isCutNotEmpty

        public boolean isCutNotEmpty()
        Decides whether this cut is empty or not.
        Returns:
        true if and only if the cut is not empty
      • isCutSpanned

        public boolean isCutSpanned()
        Decides whether this cut is occupied by spanning cells or not.
        Returns:
        true if and only if the cut is not empty
      • isBreak

        public boolean isBreak()
      • hasProperty

        public boolean hasProperty​(java.lang.String name)
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)