/*
 * Constants.java
 *
 * Status: Complete, but may be expanded
 */

package gui;

import java.awt.Color;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

/**
 * Contains assorted constant values used throughout the {@code gui} package.
 */
public interface Constants
 {
  //Background colors

  /** Background color for even rows. */
  Color bgRowEven = new Color(255, 255, 238);
  /** Background color for odd rows. */
  Color bgRowOdd = new Color(255, 255, 220);
  /** Background color for normal balances. */
  Color bgBalanceNormal = new Color(220, 255, 220);
  /** Background color for abnormal balances. */
  Color bgBalanceAbnormal = new Color(255, 220, 220);


  //Date formats

  /** Short date format for display in journals and accounts. */
  DateFormat dateShort = new SimpleDateFormat("dd MMM yyyy");
  /** Long date format for display in edit fields. */
  DateFormat dateLong = new SimpleDateFormat("dd MMM yyyy HH:mm:ss z");
 }