public class CCFChild extends CCFNode
Modifier and Type | Field and Description |
---|---|
static int |
BUTTON |
static int |
FRAME |
TEXT_CENTER, TEXT_LEFT, TEXT_RIGHT
Modifier and Type | Method and Description |
---|---|
void |
bottom() |
void |
delete()
Delete this child from it's parent.
|
java.awt.Rectangle |
getBounds()
Return the bounds of the child.
|
CCFButton |
getButton()
Returns the wrapped button if it's a button and null otherwise.
|
CCFNode |
getClone() |
CCFFrame |
getFrame()
Returns the wrapped frame if it's a frame and null otherwise.
|
java.awt.Point |
getLocation()
Return the X,Y location of this object in the
Panel or frame.
|
java.awt.Dimension |
getSize()
Get the size of the child.
|
int |
getType()
Returns the child type.
|
boolean |
isButton()
Returns true if this child is a Button.
|
boolean |
isFrame()
Returns true if this child is a Frame.
|
boolean |
isResizable()
Returns true of the child does not have an icon.
|
boolean |
lower() |
boolean |
raise() |
void |
setBounds(java.awt.Rectangle bounds)
Set the bounds of the child.
|
void |
setLocation(java.awt.Point loc)
Set the X,Y location.
|
void |
setSize(java.awt.Dimension size)
Set the size of the child.
|
void |
top() |
getHeader, getParent, getParentDevice, getParentPanel, toString
public static final int FRAME
public static final int BUTTON
public CCFNode getClone()
public boolean raise()
public boolean lower()
public void top()
public void bottom()
public java.awt.Rectangle getBounds()
public void setBounds(java.awt.Rectangle bounds)
public java.awt.Point getLocation()
public void setLocation(java.awt.Point loc)
loc
- x,y location in the panel or framegetLocation()
public boolean isResizable()
public java.awt.Dimension getSize()
public void setSize(java.awt.Dimension size)
public boolean isButton()
public boolean isFrame()
public int getType()
public CCFButton getButton()
public CCFFrame getFrame()
public void delete()