| org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo.util.AccessibleArea org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo.BasicTitleBarUI
BasicTitleBarUI | public class BasicTitleBarUI extends AccessibleArea (Code) | |
Title: BasicTitleBarUI
Description: BasicTitleBarUI provides an implemation of visiual
JGoObject of the methoid canvas node title bar.
Copyright: Copyright (c) 2002
Company:
author: Un Seng Leong version: 1.0 |
Constructor Summary | |
public | BasicTitleBarUI() Creates a new BasicTitleBarUI object. | public | BasicTitleBarUI(String title) Creates a new BasicTitleBarUI object, with the specified title text. | public | BasicTitleBarUI(String title, Image titleIcon) Creates a new BasicTitleBarUI object, with the specified title text and
icon. | public | BasicTitleBarUI(String title, Image titleIcon, Image expendedIcon, Image collapsedIcon) Creates a new BasicTitleBarUI object, with the specified title text and
icon, and expand and collapse button icon. |
BasicTitleBarUI | public BasicTitleBarUI()(Code) | | Creates a new BasicTitleBarUI object.
|
BasicTitleBarUI | public BasicTitleBarUI(String title)(Code) | | Creates a new BasicTitleBarUI object, with the specified title text.
Parameters: title - the title text of this title bar |
BasicTitleBarUI | public BasicTitleBarUI(String title, Image titleIcon)(Code) | | Creates a new BasicTitleBarUI object, with the specified title text and
icon.
Parameters: title - the title text of this title bar Parameters: titleIcon - the title icon of this title bar |
BasicTitleBarUI | public BasicTitleBarUI(String title, Image titleIcon, Image expendedIcon, Image collapsedIcon)(Code) | | Creates a new BasicTitleBarUI object, with the specified title text and
icon, and expand and collapse button icon.
Parameters: title - the title text of this title bar Parameters: titleIcon - the title icon of this title bar Parameters: expendedIcon - the expended icon image Parameters: collapsedIcon - the collapse icon image |
collapse | public void collapse()(Code) | | Collapse the title bar
|
expand | public void expand()(Code) | | Expand the title bar
|
geometryChange | public void geometryChange(Rectangle prevRect)(Code) | | Invokes when the size or location of this title bar changes.
Parameters: prevRect - the pervious rectangle |
getCollapseIcon | public Image getCollapseIcon()(Code) | | Return the collapse button icon
the collapse button icon |
getExpendedIcon | public Image getExpendedIcon()(Code) | | Return the expanded button icon
the expanded button icon |
getFont | public Font getFont()(Code) | | Return the font to use.
the font to use. |
getMinimumHeight | public int getMinimumHeight()(Code) | | |
getMinimumWidth | public int getMinimumWidth()(Code) | | |
getTitle | public String getTitle()(Code) | | Return the title text
the title text |
getTitleBarBackground | public Color getTitleBarBackground()(Code) | | |
getTitleIcon | public Image getTitleIcon()(Code) | | Retrun The title icon.
The title icon. |
isInButton | public boolean isInButton(Point point)(Code) | | Return true if the point is within the button of expand or collapse
button. false otherwise.
Parameters: point - the point ot check true if the point is within the button of expand orcollapse button. false otherwise. |
layoutChildren | protected void layoutChildren()(Code) | | Layout children of this title bar.
|
resetTitleBarBackground | public void resetTitleBarBackground()(Code) | | |
resizeToMinimum | public void resizeToMinimum()(Code) | | Resize itself to the minimum size.
|
setCollapseIcon | public void setCollapseIcon(Image image)(Code) | | Set the collapse icon image
Parameters: image - the collapse icon image |
setExpendedIcon | public void setExpendedIcon(Image image)(Code) | | Sets the expand icon image.
Parameters: image - the expand icon image. |
setTitle | public void setTitle(String title)(Code) | | Set the title text
Parameters: title - the title text |
setTitleBarBackground | public void setTitleBarBackground(Color color)(Code) | | |
setTitleIcon | public void setTitleIcon(Image image)(Code) | | Set the title icon.
Parameters: image - the title icon. |
Methods inherited from org.netbeans.modules.soa.mapper.basicmapper.canvas.jgo.util.AccessibleArea | public boolean isBoundingRectInvalid()(Code)(Java Doc)
|
|
|