Class powersoft.jcm.ui.AWTTabControl
All Packages Class Hierarchy This Package Previous Next Index
Class powersoft.jcm.ui.AWTTabControl
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----powersoft.jcm.ui.AWTTabControl
- public class AWTTabControl
- extends Panel
- implements AWTEventSource
-
AWTTabControl()
-
-
add(int, String, Object)
-
-
delete(int)
-
-
deleteAll()
-
-
getAWTEventTarget()
-
-
getCount()
-
-
getPanel(int)
-
-
getSelected()
-
-
getTabItems()
- Used by the child windows to access the tab items.
-
getTabSize()
-
-
getText(int)
-
-
getUserData(int)
-
-
handleEvent(Event)
-
-
layout()
-
-
positionTabsNow()
- Returns true if it is appropriate to position tabs.
-
reshape(int, int, int, int)
-
-
resizeChildren()
- Resizes the tab and page child windows according to the given
height for the tab window.
-
setAWTEventTarget(AWTEventTarget)
-
-
setFont(Font)
-
-
setPanel(int, Panel)
-
-
setSelected(int)
- Sets the currently selected item and updates the control accordingly.
-
setTabSize(int, int)
-
-
setText(int, String)
-
-
setUserData(int, Object)
-
AWTTabControl
public AWTTabControl()
getCount
public int getCount()
getSelected
public int getSelected()
setSelected
public synchronized void setSelected(int id)
- Sets the currently selected item and updates the control accordingly.
- Parameters:
- id - The id of the item to be selected.
getTabSize
public synchronized Dimension getTabSize()
setTabSize
public synchronized void setTabSize(int width,
int height)
getPanel
public synchronized Panel getPanel(int id)
setPanel
public synchronized void setPanel(int id,
Panel panel)
getText
public synchronized String getText(int id)
setText
public synchronized void setText(int id,
String text)
getUserData
public synchronized Object getUserData(int id)
setUserData
public synchronized void setUserData(int id,
Object userData)
add
public synchronized void add(int id,
String text,
Object userData)
delete
public synchronized boolean delete(int id)
deleteAll
public synchronized boolean deleteAll()
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class Component
layout
public synchronized void layout()
- Overrides:
- layout in class Container
reshape
public synchronized void reshape(int x,
int y,
int width,
int height)
- Overrides:
- reshape in class Component
setFont
public synchronized void setFont(Font f)
- Overrides:
- setFont in class Component
getAWTEventTarget
public AWTEventTarget getAWTEventTarget()
setAWTEventTarget
public void setAWTEventTarget(AWTEventTarget target)
positionTabsNow
protected boolean positionTabsNow()
- Returns true if it is appropriate to position tabs.
getTabItems
protected synchronized TabItem[] getTabItems()
- Used by the child windows to access the tab items.
resizeChildren
protected synchronized void resizeChildren()
- Resizes the tab and page child windows according to the given
height for the tab window.
All Packages Class Hierarchy This Package Previous Next Index