ch.elca.el4j.services.gui.swing.frames
Class ContentConfiguration
java.lang.Object
ch.elca.el4j.services.gui.swing.frames.ContentConfiguration
- Direct Known Subclasses:
- ToolWindowTabConfiguration
public class ContentConfiguration
- extends Object
A descriptor of a Content
or ToolWindowTab
.
This is used to specify a docking frame before it gets created.
- Author:
- Stefan Wismer (SWI)
- File-location:
- ContentConfiguration
- Last check-in date:
- 2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_id
protected String m_id
- See Also:
Dockable.getId()
m_title
protected String m_title
- See Also:
Dockable.getTitle()
m_icon
protected Icon m_icon
- See Also:
Dockable.getIcon()
m_component
protected JComponent m_component
- See Also:
Dockable.getComponent()
m_toolTip
protected String m_toolTip
- See Also:
Content.getToolTipText()
m_constraints
protected Object[] m_constraints
- See Also:
Content
ContentConfiguration
public ContentConfiguration(String id,
String title,
Icon icon,
JComponent component)
- See Also:
ContentManager.addContent(String, String, Icon, java.awt.Component)
ContentConfiguration
public ContentConfiguration(String id,
String title,
Icon icon,
JComponent component,
String tip,
Object... constraints)
- See Also:
ContentManager.addContent(String, String, Icon, java.awt.Component, String, Object...)
getId
public String getId()
- Returns:
- Returns the id.
setId
public void setId(String id)
- Parameters:
id
- Is the id to set.
getTitle
public String getTitle()
- Returns:
- Returns the title.
setTitle
public void setTitle(String title)
- Parameters:
title
- Is the title to set.
getIcon
public Icon getIcon()
- Returns:
- Returns the icon.
setIcon
public void setIcon(Icon icon)
- Parameters:
icon
- Is the icon to set.
getComponent
public JComponent getComponent()
- Returns:
- Returns the component.
setComponent
public void setComponent(JComponent component)
- Parameters:
component
- Is the component to set.
getToolTip
public String getToolTip()
- Returns:
- Returns the toolTip.
setToolTip
public void setToolTip(String toolTip)
- Parameters:
toolTip
- Is the toolTip to set.
getConstraints
public Object[] getConstraints()
- Returns:
- Returns the constraints.
setConstraints
public void setConstraints(Object[] constraints)
- Parameters:
constraints
- Is the constraints to set.
Copyright © 2005-2011 ELCA. All Rights Reserved.