|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArcadeFrame
This interface has the methods that must be implemented by the Arcade/GUI in order to have the code appropriately linked.
Method Summary | |
---|---|
int |
addFlowLayoutTab(java.util.List<javax.swing.JComponent> components,
java.lang.String tabTitle,
Location location)
This method is called to add a new tab to the GUI with a flow layout. |
int |
addFlowLayoutTab(java.util.List<javax.swing.JComponent> components,
java.lang.String tabTitle,
Location location,
boolean isCloseable)
This method is called to add a new tab to the GUI with a flow layout. |
void |
addMenu(javax.swing.JMenu menu)
This method is called to add a menu to the GUI. |
void |
addTab(javax.swing.JComponent component,
java.lang.String tabTitle,
Location location)
This method is called to add a new tab to the GUI. |
void |
addTab(javax.swing.JComponent component,
java.lang.String tabTitle,
Location location,
boolean isClosable)
This method is called to add a new tab to the GUI. |
void |
addToolBarItem(javax.swing.JButton button)
This method is called to add a button to the existing toolbar. |
javax.swing.JButton |
addToolBarItem(java.lang.String imagePath,
java.lang.String toolTip,
java.awt.event.ActionListener action)
Adds a new tool bar item with the given picture, tool tip, and action listener. |
java.awt.Dimension |
getDimension(Location location)
This method is used to return the dimension of a given component. |
java.util.List<javax.swing.JComponent> |
getFlowLayoutComponents(int tabID)
This method returns the list of JComponents in the given flow layout tab identified by its ID. |
void |
removeMenu(javax.swing.JMenu menu)
This method is called to remove a menu from the GUI. |
void |
removeTab(java.lang.String tabTitle,
Location location)
This method is called to remove a tab from the GUI. |
void |
removeToolBarItem(javax.swing.JButton button)
This method is called to remove a button from the existing toolbar. |
void |
updateFlowLayoutTab(int tabID,
javax.swing.JComponent component)
Used to update a given flow layout tab identified by the tabID. |
void |
updateFlowLayoutTab(int tabID,
javax.swing.JComponent component,
boolean remove)
Used to update a given flow layout tab identified by the tabID. |
Method Detail |
---|
void addMenu(javax.swing.JMenu menu)
void removeMenu(javax.swing.JMenu menu)
void addToolBarItem(javax.swing.JButton button)
javax.swing.JButton addToolBarItem(java.lang.String imagePath, java.lang.String toolTip, java.awt.event.ActionListener action)
imagePath
- toolTip
- action
- void removeToolBarItem(javax.swing.JButton button)
void addTab(javax.swing.JComponent component, java.lang.String tabTitle, Location location)
void addTab(javax.swing.JComponent component, java.lang.String tabTitle, Location location, boolean isClosable)
void removeTab(java.lang.String tabTitle, Location location)
int addFlowLayoutTab(java.util.List<javax.swing.JComponent> components, java.lang.String tabTitle, Location location)
int addFlowLayoutTab(java.util.List<javax.swing.JComponent> components, java.lang.String tabTitle, Location location, boolean isCloseable)
java.util.List<javax.swing.JComponent> getFlowLayoutComponents(int tabID)
tabID
-
void updateFlowLayoutTab(int tabID, javax.swing.JComponent component)
tabID
- components
- void updateFlowLayoutTab(int tabID, javax.swing.JComponent component, boolean remove)
tabID
- components
- java.awt.Dimension getDimension(Location location)
location
- is the location of the tabbed panel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |