| javax.swing.JPanel com.xoetrope.carousel.langed.TranslationPane
TranslationPane | public class TranslationPane extends JPanel implements MouseListener,ActionListener,WindowListener(Code) | | Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
|
Constructor Summary | |
public | TranslationPane(XEditorProject p) Constructor which creates a new instance of the translation pane
and adds it to the project frame. |
TranslationPane | public TranslationPane(XEditorProject p)(Code) | | Constructor which creates a new instance of the translation pane
and adds it to the project frame.
|
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Listen for button press events
Parameters: e - the fired ActionEvent |
addWindowListeners | public void addWindowListeners()(Code) | | Add the window listeners to the main and option windows
|
getComponentBoundsAt | public Rectangle getComponentBoundsAt(Point point)(Code) | | Get a component and a particular co-ordinate
Parameters: p - Point specifying the co-ordinate of the component the selected component |
getComponentText | public String getComponentText(Component c, String methodName)(Code) | | Get the text displayed in a particular component
Parameters: c - the Component dislaying text info the text String |
mouseClicked | public void mouseClicked(MouseEvent e)(Code) | | Listen for mouse clicked events
Parameters: e - the fired MouseEvent |
mouseEntered | public void mouseEntered(MouseEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
mouseExited | public void mouseExited(MouseEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
mousePressed | public void mousePressed(MouseEvent e)(Code) | | Listen for mouse pressed events
Parameters: e - the fired MouseEvent |
mouseReleased | public void mouseReleased(MouseEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
paintComponent | public void paintComponent(Graphics g)(Code) | | Handles painting for this component.
Parameters: g - the delagate Graphics instance. |
resetSelectedComp | public void resetSelectedComp()(Code) | | Reset the selected component
|
setSelectedCurrentLang | public void setSelectedCurrentLang(String str)(Code) | | Set the selected current language
Parameters: str - String specifying the language |
setupLangMgr | public void setupLangMgr(XEditorProject project)(Code) | | Setup the language manager
Parameters: project - the current project |
setupOptionWindow | public void setupOptionWindow()(Code) | | Create and show the option window, which will provide run-time options
for using the translation pane.
|
windowActivated | public void windowActivated(WindowEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
windowClosed | public void windowClosed(WindowEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
windowClosing | public void windowClosing(WindowEvent e)(Code) | | Detects window closing events
Parameters: e - the window event |
windowDeactivated | public void windowDeactivated(WindowEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
windowDeiconified | public void windowDeiconified(WindowEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
windowIconified | public void windowIconified(WindowEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
windowOpened | public void windowOpened(WindowEvent e)(Code) | | Template method, unused at present
Parameters: e - the window event |
|
|