blob: 3a74345fba123092d583c527b6e7cc79b5b0a90b [file] [log] [blame]
/**
* Copyright (c) 2011 Forschungszentrum Juelich GmbH
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Claudia Knobloch, FZ Juelich
*/
package org.eclipse.ptp.rm.lml.internal.core.model;
import org.eclipse.ptp.rm.lml.core.model.ITableColumnLayout;
/**
* Class of the interface ITableColumnLayout
*/
public class TableColumnLayout implements ITableColumnLayout {
/*
* Title of the column
*/
private String title;
/*
* Width of the column
*/
private int width;
/*
* Style of the column
*/
private String style;
/**
* Constructor
* @param title title of the column
* @param size width of the column
* @param width style of the column
*/
public TableColumnLayout(String title, int size, String width) {
this.title = title;
this.width = size;
this.style = width;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ptp.rm.lml.core.IJobTableColumnLayout#getTitle()
*/
public String getTitle() {
return title;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ptp.rm.lml.core.IJobTableColumnLayout#getWidth()
*/
public int getWidth() {
return width;
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.ptp.rm.lml.core.IJobTableColumnLayout#getStyle()
*/
public String getStyle() {
return style;
}
}