/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package com.megatim.reporting.adhoc.pojo.components; import com.megatim.dynamic.reports.pojo.DisplayCondition; /** * * @author ASUS */ public class Component { protected int x; protected int y; protected int width = 200; protected int height = 1; protected String hAlign = "Center"; protected String vAlign = "Middle"; protected Border border = new Border(); protected String stretchType; protected DisplayCondition displayCondition = new DisplayCondition(); public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; } public void setY(int y) { this.y = y; } public int getWidth() { return width; } public void setWidth(int width) { this.width = width; } public int getHeight() { return height; } public void setHeight(int height) { this.height = height; } public String gethAlign() { return hAlign; } public void sethAlign(String hAlign) { this.hAlign = hAlign; } public String getvAlign() { return vAlign; } public void setvAlign(String vAlign) { this.vAlign = vAlign; } public Border getBorder() { return border; } public void setBorder(Border border) { this.border = border; } public String getStretchType() { return stretchType; } public void setStretchType(String stretchType) { this.stretchType = stretchType; } public DisplayCondition getDisplayCondition() { return displayCondition; } public void setDisplayCondition(DisplayCondition displayCondition) { this.displayCondition = displayCondition; } }