| java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Frame javax.swing.JFrame bluej.editor.moe.MoeEditor
MoeEditor | final public class MoeEditor extends JFrame implements bluej.editor.Editor,BlueJEventListener,HyperlinkListener,DocumentListener(Code) | | Moe is the editor of the BlueJ environment. This class is the main class of
this editor and implements the top-level functionality.
MoeEditor implements the Editor interface, which defines the interface to the
rest of the BlueJ system.
author: Michael Kolling author: Bruce Quig author: Damiano Bolla |
Inner Class :class PrintHandler implements Runnable | |
Inner Class :class TextInsertNotifier implements Runnable | |
Method Summary | |
public void | blueJEvent(int eventId, Object arg) A BlueJEvent was raised. | void | caretMoved() Clear the message in the info area. | public void | changeName(String title, String filename, String docFilename) Change class name. | public void | changedUpdate(DocumentEvent e) | public boolean | checkExpandTabs() Check whether TABs need expanding in this editor. | public void | clear() Wipe out contents of the editor. | public void | clearMessage() Clear the message in the info area. | public void | close() The editor wants to close. | public void | compile() Implementation of "compile" user function. | public void | createHTMLPane() | public void | displayMessage(String message, int lineNumber, int column, boolean beep, boolean setStepMark, String help) Display a message (used for compile/runtime errors). | public void | doClose() The editor has been closed. | boolean | doFind(String s, boolean ignoreCase, boolean wholeWord, boolean wrap) doFind - do a find without visible feedback. | boolean | doFindBackward(String s, boolean ignoreCase, boolean wholeWord, boolean wrap) doFindBackward - do a find backwards without visible feedback. | public void | doReload() Revert the buffer contents to the last saved version. | public void | enablePrinting(boolean flag) Allow the enabling/disabling of print menu option. | public void | find() Implementation of "find" user function. | public void | findFirstConflict() | public void | findNext() Implementation of "find-next" user function. | public void | findNextBackward() Implementation of "find-next-reverse" user function. | boolean | findString(String s, boolean backward, boolean ignoreCase, boolean wholeWord, boolean wrap) Do a find with info in the info area. | public int | getBracketMatch() returns the position of the matching bracket for the source pane's
current caret position. | public LineColumn | getCaretLocation() Returns the current caret location within the edited text. | public LineColumn | getLineColumnFromOffset(int offset) Returns the LineColumn object from the given offset in the text. | public int | getLineLength(int line) Returns the length of the line indicated in the edited text. | public int | getOffsetFromLineColumn(LineColumn location) Translates a LineColumn into an offset into the text held by the editor. | public PageFormat | getPageFormat(PrinterJob job) | public Object | getProperty(String propertyKey) Returns a property of the current editor.
Parameters: propertyKey - The propertyKey of the property to retrieve. | public String | getSelectedText() Get the text currently selected. | public LineColumn | getSelectionBegin() Returns the location where the current selection begins. | public LineColumn | getSelectionEnd() Returns the location where the current selection ends. | public String | getText(LineColumn begin, LineColumn end) Returns the text which lies between the two LineColumn. | public int | getTextLength() Returns the length of the data. | public void | goToLine() Transfers caret to user specified line number location. | public void | hyperlinkUpdate(HyperlinkEvent e) A hyperlink was activated in the document. | public void | insertText(String text, boolean caretBack) Insert a string into the buffer. | public void | insertUpdate(DocumentEvent e) A text insertion has taken place. | public boolean | isModified() Determine whether this buffer has been modified. | public boolean | isReadOnly() Returns if this editor is read-only. | public boolean | isShowing() True is the editor is on screen. | public boolean | isShowingInterface() Tell whether the editor is currently displaying the interface or the
source of the class. | public boolean | matchBrackets() Tell whether we are currently matching brackets. | public int | numberOfLines() Return the number of lines in the documant. | public void | pageSetup() Implementation of the "page setup" user function. | public void | print(PrinterJob printerJob) | public void | print() Generalised version of print function. | public void | reInitBreakpoints() The editor must re-set all its breakpoints via the EditorWatcher
interface. | public void | refresh() Refresh the editor window. | public void | reload() | public void | reloadFile() Reload the editor content from the associated file, discarding unsaved
edits. | public void | removeBreakpoints() Called when all the breakpoints have been cleared. | public void | removeStepMark() Remove the step mark (the mark that shows the current line when
single-stepping through code). | public void | removeUpdate(DocumentEvent e) A text removal has taken place. | public void | replace() Implementation of "replace" user function. | public void | save() Save the buffer to disk under current filename. | public void | setCaretLocation(LineColumn location) Sets the current Caret location within the edited text. | public void | setCompiled(boolean compiled) | public void | setProperty(String propertyKey, Object value) Set a property for the current editor. | public void | setReadOnly(boolean readOnly) Set this editor to read-only. | public void | setSelection(int lineNumber, int columnNumber, int len) | public void | setSelection(int lineNumber1, int columnNumber1, int lineNumber2, int columnNumber2) Select a specified area of text. | public void | setSelection(LineColumn begin, LineColumn end) Request to the editor to mark the text between begin and end as selected. | public void | setText(LineColumn begin, LineColumn end, String newText) Request to the editor to replace the text between 'begin' and 'end' with
the given newText. | public void | setVisible(boolean vis) Show the editor window. | public boolean | showFile(String filename, boolean compiled, String docFilename, Rectangle bounds) Load the file "filename" and show the editor window. | public void | showInterface(boolean interfaceStatus) | public void | toggleBreakpoint() Implementation of "toggle-breakpoint" user function. | public void | toggleBreakpoint(int pos) Toggle a breakpoint at a given position. | public void | toggleInterface() Implementation of "toggle-interface-view" user function. | public void | toggleInterfaceMenu() Toggle the interface popup menu. | public void | updateRedoControls() Update the state of controls bound to "redo". | public void | updateUndoControls() Update the state of controls bound to "undo". | public void | userSave() | public void | writeMessage(String msg) Display a message into the info area. | public void | writeWarningMessage(String msg) Write a warning message into the info area. |
AcceleratorSuffix | final static String AcceleratorSuffix(Code) | | |
printFontSize | public static int printFontSize(Code) | | |
selectionColour | final static Color selectionColour(Code) | | |
version | final static int version(Code) | | |
MoeEditor | public MoeEditor(String title, boolean isCode, EditorWatcher watcher, boolean showToolbar, boolean showLineNum, Properties resources)(Code) | | Constructor. Title may be null
|
blueJEvent | public void blueJEvent(int eventId, Object arg)(Code) | | A BlueJEvent was raised. Check whether it is one that we're interested
in.
|
caretMoved | void caretMoved()(Code) | | Clear the message in the info area.
|
changeName | public void changeName(String title, String filename, String docFilename)(Code) | | Change class name.
Parameters: title - new window title Parameters: filename - new file name |
changedUpdate | public void changedUpdate(DocumentEvent e)(Code) | | Document properties have changed - ignore
|
checkExpandTabs | public boolean checkExpandTabs()(Code) | | Check whether TABs need expanding in this editor. If they do, return
true. At the same time, set this flag to true.
Description of the Return Value |
clear | public void clear()(Code) | | Wipe out contents of the editor.
|
clearMessage | public void clearMessage()(Code) | | Clear the message in the info area.
|
close | public void close()(Code) | | The editor wants to close. Do this through the EditorManager so that we
can be removed from the list of open editors.
|
compile | public void compile()(Code) | | Implementation of "compile" user function.
|
createHTMLPane | public void createHTMLPane()(Code) | | |
displayMessage | public void displayMessage(String message, int lineNumber, int column, boolean beep, boolean setStepMark, String help)(Code) | | Display a message (used for compile/runtime errors). An editor must
support at least two lines of message text, so the message can contain a
newline character.
Parameters: message - the message to be displayed Parameters: lineNumber - The line to highlight Parameters: column - the column to move the cursor to Parameters: beep - if true, do a system beep Parameters: setStepMark - if true, set step mark (for single stepping) Parameters: help - name of help group (may be null) |
doClose | public void doClose()(Code) | | The editor has been closed. Hide the editor window now.
|
doFind | boolean doFind(String s, boolean ignoreCase, boolean wholeWord, boolean wrap)(Code) | | doFind - do a find without visible feedback. Returns false if not found.
|
doFindBackward | boolean doFindBackward(String s, boolean ignoreCase, boolean wholeWord, boolean wrap)(Code) | | doFindBackward - do a find backwards without visible feedback. Returns
false if not found.
|
doReload | public void doReload()(Code) | | Revert the buffer contents to the last saved version. Do not ask any
question - just do it. Must have a file name.
|
enablePrinting | public void enablePrinting(boolean flag)(Code) | | Allow the enabling/disabling of print menu option. Added to disable the
printing og javadoc html for the time being until until implemented.
(This is reliant on the use of j2sdk1.4 and Java Unified Print Service
implementation JSR 6)
Parameters: flag - true to enable printing from menu. |
find | public void find()(Code) | | Implementation of "find" user function.
|
findFirstConflict | public void findFirstConflict()(Code) | | Finds the first cvs-style conflict and selects it
|
findNext | public void findNext()(Code) | | Implementation of "find-next" user function.
|
findNextBackward | public void findNextBackward()(Code) | | Implementation of "find-next-reverse" user function.
|
findString | boolean findString(String s, boolean backward, boolean ignoreCase, boolean wholeWord, boolean wrap)(Code) | | Do a find with info in the info area.
|
getBracketMatch | public int getBracketMatch()(Code) | | returns the position of the matching bracket for the source pane's
current caret position. Returns -1 if not found or not valid/appropriate
the int representing bracket position |
getCaretLocation | public LineColumn getCaretLocation()(Code) | | Returns the current caret location within the edited text.
An object describing the current caret location. |
getLineColumnFromOffset | public LineColumn getLineColumnFromOffset(int offset)(Code) | | Returns the LineColumn object from the given offset in the text.
Parameters: offset - The number of characters from the beginning of text (startngfrom zero) the LineColumn object or null if the offset points outside thetext. |
getLineLength | public int getLineLength(int line)(Code) | | Returns the length of the line indicated in the edited text.
Zero is a valid value if the given line has no characters in it.
Parameters: line - the line in the text for which the length should be calculated, starting from 0 the length of the line, -1 if line is invalid |
getOffsetFromLineColumn | public int getOffsetFromLineColumn(LineColumn location)(Code) | | Translates a LineColumn into an offset into the text held by the editor.
Parameters: location - position to be translated the offset into the content of this editor throws: IllegalArgumentException - if the specified LineColumn represent a position which doesnot exist in the text. |
getProperty | public Object getProperty(String propertyKey)(Code) | | Returns a property of the current editor.
Parameters: propertyKey - The propertyKey of the property to retrieve. the property value or null if it is not found |
getSelectedText | public String getSelectedText()(Code) | | Get the text currently selected.
The selected text. |
getSelectionBegin | public LineColumn getSelectionBegin()(Code) | | Returns the location where the current selection begins.
the current beginning of the selection or null if no text isselected. |
getSelectionEnd | public LineColumn getSelectionEnd()(Code) | | Returns the location where the current selection ends.
the current end of the selection or null if no text is selected. |
getText | public String getText(LineColumn begin, LineColumn end)(Code) | | Returns the text which lies between the two LineColumn.
Parameters: begin - The beginning of the text to get Parameters: end - The end of the text to get The text between the 'begin' and 'end' positions. throws: IllegalArgumentException - if either of the specified TextLocations represent a positionwhich does not exist in the text. |
getTextLength | public int getTextLength()(Code) | | Returns the length of the data. This is the number of
characters of content that represents the users data.
It is possible to obtain the line and column of the last character of text by using
the getLineColumnFromOffset() method.
the length >= 0 |
goToLine | public void goToLine()(Code) | | Transfers caret to user specified line number location.
|
hyperlinkUpdate | public void hyperlinkUpdate(HyperlinkEvent e)(Code) | | A hyperlink was activated in the document. Do something appropriate.
|
insertText | public void insertText(String text, boolean caretBack)(Code) | | Insert a string into the buffer. The editor is not immediately
redisplayed. This function is typically used in a sequence "clear;
[insertText]*; setVisible(true)". If the selection is on, it is replaced
by the new text.
Parameters: text - the text to be inserted Parameters: caretBack - move the caret to the beginning of the inserted text |
isModified | public boolean isModified()(Code) | | Determine whether this buffer has been modified.
a boolean indicating whether the file is modified |
isReadOnly | public boolean isReadOnly()(Code) | | Returns if this editor is read-only. Accessor for the setReadOnly
property.
a boolean indicating whether the editor is read-only. |
isShowing | public boolean isShowing()(Code) | | True is the editor is on screen.
The showing value |
isShowingInterface | public boolean isShowingInterface()(Code) | | Tell whether the editor is currently displaying the interface or the
source of the class.
True, if interface is currently shown, false otherwise. |
matchBrackets | public boolean matchBrackets()(Code) | | Tell whether we are currently matching brackets.
True, if we are matching brackets, otherwise false. |
numberOfLines | public int numberOfLines()(Code) | | Return the number of lines in the documant.
|
pageSetup | public void pageSetup()(Code) | | Implementation of the "page setup" user function. This provides a dialog
for print page setup. PageSetup is global to BlueJ. Calling this from the
Editor is effectively the same as calling from PkgMgrFrame as this saves
back to PkgMgrFrame's global page format object.
|
print | public void print(PrinterJob printerJob)(Code) | | Prints source code from Editor
Parameters: printerJob - A PrinterJob to print to. |
print | public void print()(Code) | | Generalised version of print function. This is what is typically called
when print is initiated from within the source code editor menu. This
sets up and runs the print process as a separate lower priority thread.
|
reInitBreakpoints | public void reInitBreakpoints()(Code) | | The editor must re-set all its breakpoints via the EditorWatcher
interface.
|
refresh | public void refresh()(Code) | | Refresh the editor window.
|
reload | public void reload()(Code) | | |
reloadFile | public void reloadFile()(Code) | | Reload the editor content from the associated file, discarding unsaved
edits.
|
removeBreakpoints | public void removeBreakpoints()(Code) | | Called when all the breakpoints have been cleared. The editor should
update its display to show that no breakpoints are set.
|
removeStepMark | public void removeStepMark()(Code) | | Remove the step mark (the mark that shows the current line when
single-stepping through code). If it is not currently displayed, do
nothing.
|
replace | public void replace()(Code) | | Implementation of "replace" user function. Replace adds extra
functionality to that of a find dialog, as well as altered behaviour. It
can remain open for multiple functions.
|
save | public void save() throws IOException(Code) | | Save the buffer to disk under current filename. This is often called from
the outside - just in case. Save only if really necessary, otherwise we
save much too often. PRE: filename != null
|
setCaretLocation | public void setCaretLocation(LineColumn location)(Code) | | Sets the current Caret location within the edited text.
Parameters: location - The location in the text to set the Caret to. throws: IllegalArgumentException - if the specified TextLocation represents a position whichdoes not exist in the text. |
setCompiled | public void setCompiled(boolean compiled)(Code) | | Set the "compiled" status
Parameters: compiled - True if the class has been compiled. |
setProperty | public void setProperty(String propertyKey, Object value)(Code) | | Set a property for the current editor. Any existing property with
this key will be overwritten.
Parameters: propertyKey - The property key of the new property Parameters: value - The new property value |
setReadOnly | public void setReadOnly(boolean readOnly)(Code) | | Set this editor to read-only.
Parameters: readOnly - The new readOnly value |
setSelection | public void setSelection(int lineNumber, int columnNumber, int len)(Code) | | Set the selection of the editor to be a len characters on the line
lineNumber, starting with column columnNumber
Parameters: lineNumber - the line to select characters on Parameters: columnNumber - the column to start selection at (1st column is 1 - not 0) Parameters: len - the number of characters to select |
setSelection | public void setSelection(int lineNumber1, int columnNumber1, int lineNumber2, int columnNumber2)(Code) | | Select a specified area of text.
Parameters: lineNumber1 - The new selection value Parameters: columnNumber1 - The new selection value Parameters: lineNumber2 - The new selection value Parameters: columnNumber2 - The new selection value |
setSelection | public void setSelection(LineColumn begin, LineColumn end)(Code) | | Request to the editor to mark the text between begin and end as selected.
Parameters: begin - The start position of the selection Parameters: end - The end position of the selection throws: IllegalArgumentException - if either of the specified TextLocations represent a positionwhich does not exist in the text. |
setText | public void setText(LineColumn begin, LineColumn end, String newText) throws BadLocationException(Code) | | Request to the editor to replace the text between 'begin' and 'end' with
the given newText. If begin and end point to the same location, the text
is inserted.
Parameters: begin - The start position of text to replace Parameters: end - The end position of text to replace Parameters: newText - The text to insert throws: IllegalArgumentException - if either of the specified LineColumn represent a positionwhich does not exist in the text. throws: BadLocationException - if internally the text points outside a location in the text. |
setVisible | public void setVisible(boolean vis)(Code) | | Show the editor window. This includes whatever is necessary of the
following: make visible, de-iconify, bring to front of window stack.
Parameters: vis - The new visible value |
showFile | public boolean showFile(String filename, boolean compiled, String docFilename, Rectangle bounds)(Code) | | Load the file "filename" and show the editor window.
|
showInterface | public void showInterface(boolean interfaceStatus)(Code) | | Set this editor to display either the interface or the source code of
this class
Parameters: interfaceStatus - If true, display class interface, otherwise source. |
toggleBreakpoint | public void toggleBreakpoint()(Code) | | Implementation of "toggle-breakpoint" user function.
|
toggleBreakpoint | public void toggleBreakpoint(int pos)(Code) | | Toggle a breakpoint at a given position.
|
toggleInterface | public void toggleInterface()(Code) | | Implementation of "toggle-interface-view" user function. The menu has
already been changed - now see what it is and do it.
|
toggleInterfaceMenu | public void toggleInterfaceMenu()(Code) | | Toggle the interface popup menu. This is used when using keys to toggle
the interface view. Toggling the menu will result in invoking the action.
|
updateRedoControls | public void updateRedoControls()(Code) | | Update the state of controls bound to "redo".
|
updateUndoControls | public void updateUndoControls()(Code) | | Update the state of controls bound to "undo".
|
userSave | public void userSave()(Code) | | |
writeMessage | public void writeMessage(String msg)(Code) | | Display a message into the info area.
Parameters: msg - the message to display |
writeWarningMessage | public void writeWarningMessage(String msg)(Code) | | Write a warning message into the info area. Typically some form of
unexpected behaviour has occurred.
Parameters: msg - Description of the Parameter |
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|