All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.alantea.swing.layout.percent.Referent Maven / Gradle / Ivy

The newest version!
package net.alantea.swing.layout.percent;

import java.awt.Component;

/**
 * The Class Referent.
 * 
 * Copyright Airbus Defence and Space 2015
 */
public class Referent
{

   /** The where. */
   private Where where;
   
   /** The who. */
   private Component who;
   
   /** The how. */
   private Direction how;

   /**
    * Instantiates a new referent.
    *
    * @param who the who
    * @param where the where
    * @param how the how
    */
   public Referent(Component who, Where where, Direction how)
   {
      this.where = where;
      this.who = who;
      this.how = how;
   }

   /**
    * Gets the where.
    *
    * @return the where
    */
   public Where getWhere()
   {
      return where;
   }

   /**
    * Sets the where.
    *
    * @param where the where to set
    */
   public void setWhere(Where where)
   {
      this.where = where;
   }

   /**
    * Gets the direction.
    *
    * @return the direction
    */
   public Direction getHow()
   {
      return how;
   }

   /**
    * Sets the direction.
    *
    * @param direction the direction to set
    */
   public void setHow(Direction direction)
   {
      this.how = direction;
   }

   /**
    * Gets the who.
    *
    * @return the who
    */
   public Component getWho()
   {
      return who;
   }

   /**
    * Sets the who.
    *
    * @param who the who to set
    */
   public void setWho(Component who)
   {
      this.who = who;
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy