package is.idega.idegaweb.golf.presentation;
import java.sql.SQLException;
import com.idega.block.text.presentation.TextReader;
import com.idega.presentation.IWContext;
import com.idega.presentation.Image;
import com.idega.presentation.Table;
import com.idega.presentation.text.Text;
/**
* Title: idegaWeb Classes
* Description:
* Copyright: Copyright (c) 2001
* Company:
* @author <a href="bjarni@idega.is">Bjarni Viljhalmsson</a>
* @version 1.0
*/
public class GolfbagView extends GolferBlock {
public GolfbagView() {
}
private void setGolfbagView(){
Table dummyTable = new Table(2,1);
dummyTable.setCellpadding(24);
TextReader golfbagText = new TextReader(this.golferPageData.getGolfbagID());
golfbagText.setWidth("100%");
golfbagText.setTableTextSize(1);
golfbagText.setTextSize(1);
golfbagText.setTextStyle(Text.FONT_FACE_ARIAL);
golfbagText.setHeadlineSize(1);
dummyTable.add(golfbagText,1,1);
Image sideImage;
sideImage = iwb.getImage("/shared/pingi3.jpg");
dummyTable.add(sideImage,2,1);
dummyTable.setVerticalAlignment(2,1,"top");
dummyTable.setAlignment(2,1,"right");
add(dummyTable);
}
public void main(IWContext iwc) throws SQLException{
super.main(iwc);
setGolfbagView();
}
}