Class MPrintFont

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_AD_PrintFont, I_Persistent, Evaluatee, ImmutablePOSupport

public class MPrintFont extends X_AD_PrintFont implements ImmutablePOSupport
Print Font Model for AD_PrintFont
Version:
$Id: MPrintFont.java,v 1.3 2006/07/30 00:53:02 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MPrintFont

      public MPrintFont(Properties ctx, String AD_PrintFont_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      AD_PrintFont_UU - UUID key
      trxName - Transaction
    • MPrintFont

      public MPrintFont(Properties ctx, int AD_PrintFont_ID, String trxName)
      Constructor
      Parameters:
      ctx - context
      AD_PrintFont_ID - ID
      trxName - transaction
    • MPrintFont

      public MPrintFont(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MPrintFont

      public MPrintFont(MPrintFont copy)
      Copy constructor
      Parameters:
      copy -
    • MPrintFont

      public MPrintFont(Properties ctx, MPrintFont copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MPrintFont

      public MPrintFont(Properties ctx, MPrintFont copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • getFont

      public Font getFont()
      Get Font
      Returns:
      Font
    • setFont

      public void setFont(Font font)
      Set Font
      Parameters:
      font - Font
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_AD_PrintFont
      Returns:
      info
    • toPS

      public String toPS()
      Get PostScript Level 2 definition. e.g. /dialog 12 selectfont
      Returns:
      PostScript command
    • get

      public static MPrintFont get(int AD_PrintFont_ID)
      Get Font
      Parameters:
      AD_PrintFont_ID - id
      Returns:
      Font
    • markImmutable

      public MPrintFont markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO