public class Panel extends Object implements Cloneable, Comparable<Panel>, Visitable
Constructor and Description |
---|
Panel() |
Modifier and Type | Method and Description |
---|---|
Object |
acceptVisit(WorkspaceVisitor visitor) |
Object |
clone()
Return a clone of this object, with attributes copied, but without relations.
|
int |
compareTo(Panel other) |
boolean |
equals(Object obj) |
int |
getCacheTime() |
Serializable |
getContentData() |
Long |
getDbid() |
String |
getFullDescription()
Return a string describing the panel.
|
int |
getHeight() |
String |
getId()
Deprecated.
Use getPanelId instead.
|
PanelInstance |
getInstance() |
Long |
getInstanceId() |
String |
getLayoutRegionId() |
Long |
getPanelId() |
PanelSession |
getPanelSession()
Returns the panel status object for this panel.
|
String |
getParameterValue(String id) |
String |
getParameterValue(String id,
String language) |
int |
getPosition() |
Properties |
getProperties()
Return the all the properties defined for this kind of panels.
|
PanelProvider |
getProvider() |
LayoutRegion |
getRegion()
Returns the regions this panel is assigned to, or null
|
String |
getResource(String key)
Return the resource defined for this kind of panels.
|
String |
getResource(String key,
Locale locale)
Return the resource defined for this kind of panels.
|
Section |
getSection() |
Map<String,String> |
getTitle() |
String |
getTitle(String language) |
WorkspaceImpl |
getWorkspace() |
int |
hashCode()
Returns a constant value.
|
void |
init()
Init panel
|
boolean |
isInitiallyMaximized() |
boolean |
isMaximizable() |
boolean |
isMinimizable() |
boolean |
isNew() |
boolean |
isPaintBorder() |
boolean |
isPaintTitle() |
boolean |
isWellConfigured()
Returns if this panel has been successfully configured
|
void |
pageLeft()
Called for panels after the page they are in is left.
|
void |
panelRemoved()
Notify this panel is about to be removed
|
void |
setContentData(Serializable data) |
void |
setDbid(Long dbid) |
void |
setId(String id)
Deprecated.
Use setPanelId instead.
|
void |
setInstance(PanelInstance instance) |
void |
setInstanceId(Long instanceId) |
void |
setLayoutRegionId(String layoutRegionId) |
void |
setPanelId(Long panelId) |
void |
setPosition(int position) |
void |
setRegion(LayoutRegion region) |
void |
setSection(Section section) |
void |
setTitle(Map<String,String> title) |
void |
setTitle(String title,
String language) |
boolean |
supportsEditMode() |
boolean |
supportsHelpMode() |
String |
toString() |
public int hashCode()
VERY IMPORTANT NOTE. Regarding the message from jiesheng zhang posted on Fri, 01 Aug 2003 03:06:26 -0700 at hibernate-devel MAIL ARCHIVE: "In hibernate current implementation, if a object is retrieved from Set and its hashCode is changed, there is no way to remove it from set."
You can read the original message at:
http://www.mail-archive.com/hibernate-devel@lists.sourceforge.net/msg00008.html.
public int compareTo(Panel other)
compareTo
in interface Comparable<Panel>
public boolean isNew()
public Long getPanelId()
public void setPanelId(Long panelId)
public Long getDbid()
public void setDbid(Long dbid)
public String getId()
public void setId(String id)
public Long getInstanceId()
public void setInstanceId(Long instanceId)
public Section getSection()
public void setSection(Section section)
public int getPosition()
public void setPosition(int position)
public LayoutRegion getRegion()
public void setRegion(LayoutRegion region)
public String getLayoutRegionId()
public void setLayoutRegionId(String layoutRegionId)
public void panelRemoved()
public PanelInstance getInstance()
public void setInstance(PanelInstance instance)
public PanelProvider getProvider()
public WorkspaceImpl getWorkspace()
public Serializable getContentData()
public void setContentData(Serializable data)
public int getHeight()
public int getCacheTime()
public boolean isMaximizable()
public boolean isMinimizable()
public boolean isInitiallyMaximized()
public boolean isPaintTitle()
public boolean isPaintBorder()
public boolean isWellConfigured()
public boolean supportsEditMode()
public boolean supportsHelpMode()
public Properties getProperties()
public String getResource(String key)
public String getResource(String key, Locale locale)
public Object clone()
public String toString()
public String getFullDescription()
public void pageLeft()
public Object acceptVisit(WorkspaceVisitor visitor) throws Exception
acceptVisit
in interface Visitable
Exception
public PanelSession getPanelSession()
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.