1 9 package org.jboss.portal.core.plugins.page; 10 11 import org.jboss.portal.core.metadata.WindowLocationMetaData; 12 import org.jboss.portal.server.ServerObjectID; 13 14 18 public class WindowLocation 19 { 20 21 private ServerObjectID id; 22 private String region; 23 private int height; 24 25 public WindowLocation(ServerObjectID id, String region, int height) 26 { 27 this.id = id; 28 this.region = region; 29 this.height = height; 30 } 31 32 public WindowLocation(WindowLocationMetaData metaData) 33 { 34 this(metaData.getID(), 35 metaData.getRegion(), 36 metaData.getHeight()); 37 } 38 39 public ServerObjectID getID() 40 { 41 return id; 42 } 43 44 public String getRegion() 45 { 46 return region; 47 } 48 49 public int getHeight() 50 { 51 return height; 52 } 53 } 54 | Popular Tags |