public class GCUBELayoutTab extends Object
| Constructor and Description |
|---|
GCUBELayoutTab(String caption,
GCUBELayoutType type,
GCUBEPortlet portlet) |
GCUBELayoutTab(String caption,
GCUBELayoutType type,
GCUBEPortlet portlet,
boolean useFrame) |
GCUBELayoutTab(String caption,
GCUBELayoutType type,
List<GCUBEPortlet> portlets) |
GCUBELayoutTab(String caption,
String description,
GCUBELayoutType type,
List<GCUBEPortlet> portlets) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubTab(GCUBELayoutTab subtab)
method to add children tabs
|
String |
getCaption() |
String |
getDescription() |
String |
getFriendlyURL() |
String |
getLayoutTypeSettings()
create the layout with portlets in it
1_column - gives you a single column layout
2_columns_i - gives you two columns split 50/50
2_columns_ii - gives you two columns split 30/70
2_columns_iii - gives you two columns split 70/30
3_columns - gives you three columns
1_2_columns_i - gives you one top initial row, followed by 2 columns split 30/70
1_2_columns_ii - gives you one top initial row, followed by 2 columns split 70/30
1_2_1_columns - gives you one top initial row, followed by a row with 2 columns 50/50 split, followed by another row
2_2_columns - gives you one row with 2 columns 70/30 split followed by another row with 2 columns 30/70 split.
|
List<GCUBEPortlet> |
getPortlets() |
ArrayList<GCUBELayoutTab> |
getSubTabs() |
GCUBELayoutType |
getType() |
boolean |
hasChildren() |
boolean |
isHidden() |
boolean |
isUseBorder() |
void |
setCaption(String caption) |
void |
setDescription(String description) |
void |
setFriendlyURL(String friendlyURL) |
void |
setHidden(boolean hidden) |
void |
setUseBorder(boolean useBorder) |
public GCUBELayoutTab(String caption, GCUBELayoutType type, List<GCUBEPortlet> portlets)
caption - the tab captiontype - the type of the layoutportlets - a list of public GCUBELayoutTab(String caption, String description, GCUBELayoutType type, List<GCUBEPortlet> portlets)
caption - the tab captiondescription - the tab descriptiontype - the type of the layoutportlets - a list of public GCUBELayoutTab(String caption, GCUBELayoutType type, GCUBEPortlet portlet)
caption - the tab captiontype - the type of the layoutportlet - a single public GCUBELayoutTab(String caption, GCUBELayoutType type, GCUBEPortlet portlet, boolean useFrame)
caption - the tab captiontype - the type of the layoutportlet - a single public void addSubTab(GCUBELayoutTab subtab)
subtab - public boolean hasChildren()
public ArrayList<GCUBELayoutTab> getSubTabs()
public GCUBELayoutType getType()
public List<GCUBEPortlet> getPortlets()
public String getCaption()
public void setCaption(String caption)
caption - the caption to displaypublic String getDescription()
public void setDescription(String description)
description - descpublic String getFriendlyURL()
public void setFriendlyURL(String friendlyURL)
friendlyURL - the last part of the URL after slash, autogenerated if not setpublic boolean isHidden()
public void setHidden(boolean hidden)
hidden - -public boolean isUseBorder()
public void setUseBorder(boolean useBorder)
public String getLayoutTypeSettings()
Copyright © 2017. All Rights Reserved.