| java.lang.Object java.awt.Component java.awt.Container net.xoetrope.xui.XPage
All known Subclasses: net.xoetrope.samples.travel.FlightSearch, net.xoetrope.xui.test.PageTester, net.xoetrope.samples.ctlsamples.MetaContent, net.xoetrope.samples.travel.BusRoutes, net.xoetrope.samples.controls.ValidationSample, net.xoetrope.samples.apps.SecondPage, net.xoetrope.samples.simple.HelloWorld, net.xoetrope.samples.controls.DataSample, net.xoetrope.samples.travel.FlightIndex, net.xoetrope.samples.travel.TourIndex, net.xoetrope.xui.test.HotspotFrame, net.xoetrope.samples.travel.GuidedTourIndex, net.xoetrope.samples.travel.MollyMalone, net.xoetrope.samples.controls.TabSample, net.xoetrope.samples.ctlsamples.Table, net.xoetrope.samples.controls.DialogSample, net.xoetrope.samples.advanced.NavPage1, net.xoetrope.samples.travel.SightSeeingTourIntro, net.xoetrope.samples.simple.EventHandling, net.xoetrope.samples.travel.AirportMapIndex, net.xoetrope.samples.ctlsamples.Hotspots, net.xoetrope.samples.simple.DataBinding, net.xoetrope.samples.apps.LastPage, net.xoetrope.samples.apps.StartPage, net.xoetrope.samples.simple.StyleSheet, net.xoetrope.samples.controls.SamplesHome, net.xoetrope.samples.advanced.BuddyHelperSample, net.xoetrope.samples.counterexample.ide.XuiBoilerPlate, net.xoetrope.swing.XDialog, net.xoetrope.samples.controls.SwingSamplesHome, net.xoetrope.samples.advanced.Validation, net.xoetrope.awt.XDialog, net.xoetrope.samples.travel.ArrivalsMap, net.xoetrope.samples.controls.SplitPaneSample, net.xoetrope.builder.NavigationHelper, net.xoetrope.samples.travel.CarHire, net.xoetrope.samples.travel.FoodDetails, net.xoetrope.samples.controls.HotspotSample, net.xoetrope.samples.controls.BuddySample, net.xoetrope.samples.ctlsamples.STable, net.xoetrope.samples.travel.BusSchedules, net.xoetrope.samples.controls.StyleSample, net.xoetrope.samples.controls.CompFactorySample, net.xoetrope.samples.travel.FlightResults, net.xoetrope.samples.controls.TableSample, net.xoetrope.samples.travel.SightSeeingTour, net.xoetrope.samples.travel.FoodIndex, net.xoetrope.samples.travel.Start, net.xoetrope.samples.advanced.NavPage2, net.xoetrope.samples.simple.SimpleForm, net.xoetrope.samples.travel.CarHireDetails, net.xoetrope.samples.apps.FirstPage, net.xoetrope.samples.travel.Services, net.xoetrope.samples.controls.MetaSample,
XPage | public class XPage extends Container implements XValidationExceptionHandler(Code) | | A basic unit for building applications. XPage integrates with
page and event management facilities provided by XUI. The page also provides
a number of methods to help control the page lifecycle.
Pages can be displayed using the XPageDisplay interface implemented by
XApplet and invoked by the XPage manager. Pages can be constructed directly
or via the XuiBuilder.
Copyright (c) Xoetrope Ltd., 2002-2004
License: see license.txt
$Revision: 1.33 $
|
Inner Class :class MessageThread extends Thread | |
Constructor Summary | |
public | XPage() |
Method Summary | |
public int | accumulateMessages(boolean start, int level) informs the handler when a page validation is starting or stopping. | public void | addActionHandler(Component comp, String methodName) | public void | addBinding(XDataBinding b) Add a binding of a component to the data model. | public void | addFocusHandler(Component comp, String methodName) | public void | addHandler(Component comp, long eventType, String methodName) Adds an event handler. | public void | addItemHandler(Component comp, String methodName) | public void | addKeyHandler(Component comp, String methodName) | public void | addListener(Object comp, String listenerName, String argType) Adds a listener for an event type. | public void | addMenuHandler(Object menuItem, String methodName) | public void | addMouseHandler(Component comp, String methodName) | public void | addMouseMotionHandler(Component comp, String methodName) | public void | addNotify() | public void | addTextHandler(Component comp, String methodName) | public XValidator | addValidation(Component comp, String validationName, String method, int mask) Adds a validation to this page. | public XValidator | addValidation(Component comp, String validationName, String method) Adds a validation to this page. | public XValidator | addValidation(Component comp, String validationName) Adds a validation to this page. | public int | checkValidations() Check all validations for this page. | public void | clearValidations() | public Object | evaluateAttribute(String attribValue) Evaluates an attribute value. | public String | evaluatePath(String path) | public Component | findComponent(String name) Find a named component in the container. | public Component | findComponent(Container container, String name) Find a named component in the container. | public Object | getAttribute(String attribName) | public Object | getAttribute(String attribName, String compName) | public XDataBinding | getBinding(Component targetComp) | public XDataBinding | getBinding(String targetPath) | public Vector | getBindings() | public XComponentFactory | getComponentFactory() Get the component factory instance being used by this page. | public String | getComponentName(Component comp) Get a name for a component. | public AWTEvent | getCurrentEvent() | public Object | getEventAttribute(Component c, String attribName) | public XEventHandler | getEventHandler() | public int | getStatus() | public XValidationHandler | getValidationHandler() | public boolean | handleException(Component comp, Exception ex, XValidator validator) A method called when a validation exeption has been trapped.
Parameters: comp - Component being validated Parameters: ex - The exception caused Parameters: validator - The validator being used to validate. | public boolean | isFocusChangeSuppressed() | public void | pageActivated() | public void | pageCreated() A method called once the page has been created but not yet initialized. | public void | pageDeactivated() Called when the page is about to loose scope and be hidden. | public void | paint(Graphics g) | public void | paintSuper(Graphics g) This can be called instead of the paint method above so that the background
does not get painted. | public void | removeBinding(XDataBinding b) Remove a binding of a component to the data model. | public void | saveBoundComponentValues() | public void | setAttribute(String attribName, String compName, Object attribValue) Set a named attributes. | public void | setClearPage(boolean value) Modify the clearPage flag. | public void | setComponentFactory(XStyleFactory factory) Set the component factory instance being used by this page when constructing
new pages. | public void | setEventHandler(XEventHandler eh) | public void | setExceptionHandler(XValidationExceptionHandler eh) | public void | setStatus(int newStatus) | public void | setValidationFactory(XValidationFactory vf) | public void | setValidationFactory(String vf) Sets the factory used to create XValidator objects. | public void | showComponents(Container container, boolean visible, int recursionLevel) Show or hide the components. | public void | showHandCursor(Component comp) | public void | showMessage(String title, String msg) | public void | showMessage(Container parent, String title, String msg) | public String | stripAttributeValues(String path) Remove the attribute paths from a path e.g. | public String | translate(String key) | public void | update(Graphics g) Overrides the update method so as to allow the suppression of the default
clearing of the background. | public void | updateBindings() Update the bound model node for each binding. | public void | updateBoundComponentValues() | public int | validationHandler() Invoke the validators for the last event. | public boolean | wasMouseClicked() A utility method used to determine if the last event corrseponds to a mouse
click. | public boolean | wasMouseDoubleClicked() A utility method used to determine if the last event corrseponds to a mouse
double click. | public boolean | wasMouseRightClicked() A utility method used to determine if the last event corrseponds to a mouse
right click. |
ACTIVATED | final public static int ACTIVATED(Code) | | |
ANNOTATEDIMAGE | final public static String ANNOTATEDIMAGE(Code) | | |
BORDER_LAYOUT | final public static int BORDER_LAYOUT(Code) | | |
BOX_LAYOUT | final public static int BOX_LAYOUT(Code) | | This type of layout simulates the Swing layout by using a GridLayout such
that the layoutStyle attribute indicates vertical or horizontal layout. A
layoutStyle of '0' indicates a vertical layout and any other value indicates
a horizontal layout.
|
CARD_LAYOUT | final public static int CARD_LAYOUT(Code) | | |
CREATED | final public static int CREATED(Code) | | |
DEACTIVATED | final public static int DEACTIVATED(Code) | | |
DISCARDED | final public static int DISCARDED(Code) | | |
FLOW_LAYOUT | final public static int FLOW_LAYOUT(Code) | | |
GRIDBAG_LAYOUT | final public static int GRIDBAG_LAYOUT(Code) | | |
GRID_LAYOUT | final public static int GRID_LAYOUT(Code) | | |
LOADED | final public static int LOADED(Code) | | |
NULL_LAYOUT | final public static int NULL_LAYOUT(Code) | | |
SCROLLABLEMETACONTENT | final public static String SCROLLABLEMETACONTENT(Code) | | |
UNKNOWN_PAGE_STATE | final public static int UNKNOWN_PAGE_STATE(Code) | | |
XANNOTATEDIMAGE | final public static int XANNOTATEDIMAGE(Code) | | |
XBUTTON | final public static int XBUTTON(Code) | | |
XCHECK | final public static int XCHECK(Code) | | |
XCOMBO | final public static int XCOMBO(Code) | | |
XEDIT | final public static int XEDIT(Code) | | |
XGROUP | final public static int XGROUP(Code) | | |
XHOTSPOTIMAGE | final public static int XHOTSPOTIMAGE(Code) | | |
XIMAGE | final public static int XIMAGE(Code) | | |
XIMAGEMAP | final public static int XIMAGEMAP(Code) | | |
XLABEL | final public static int XLABEL(Code) | | |
XLIST | final public static int XLIST(Code) | | |
XMENU | final public static int XMENU(Code) | | |
XMENUBAR | final public static int XMENUBAR(Code) | | |
XMENUITEM | final public static int XMENUITEM(Code) | | |
XMETACONTENT | final public static int XMETACONTENT(Code) | | |
XPANEL | final public static int XPANEL(Code) | | |
XPASSWORD | final public static int XPASSWORD(Code) | | |
XRADIO | final public static int XRADIO(Code) | | |
XSCROLLABLEMETACONTENT | final public static int XSCROLLABLEMETACONTENT(Code) | | |
XSCROLLPANE | final public static int XSCROLLPANE(Code) | | |
XSPLITPANE | final public static int XSPLITPANE(Code) | | |
XTABLE | final public static int XTABLE(Code) | | |
XTABPANEL | final public static int XTABPANEL(Code) | | |
XTEXTAREA | final public static int XTEXTAREA(Code) | | |
XUI_AWT_PACKAGE | final public static String XUI_AWT_PACKAGE(Code) | | |
XUI_SWING_PACKAGE | final public static String XUI_SWING_PACKAGE(Code) | | |
XUNKNOWN | final public static int XUNKNOWN(Code) | | |
XWMF | final public static int XWMF(Code) | | |
clearPage | protected boolean clearPage(Code) | | |
status | protected int status(Code) | | |
XPage | public XPage()(Code) | | Constructs an empty page
|
accumulateMessages | public int accumulateMessages(boolean start, int level)(Code) | | informs the handler when a page validation is starting or stopping. Typically
when it starts the page will begin to accumulate message which are to be displayed.
When the parameter is false the page will usually display the accumulated
messages
Parameters: start - boolean to indicate whether the accumulation is started or stopped. |
addBinding | public void addBinding(XDataBinding b)(Code) | | Add a binding of a component to the data model. If the page has already
been activated this method will update the binding automatically.
Parameters: b - the binding |
addHandler | public void addHandler(Component comp, long eventType, String methodName) throws Exception(Code) | | Adds an event handler. A specific handler such as the addActionHandler should
be used instead of calling this method
Parameters: comp - the component that fires the event Parameters: eventType - the event ID/mask Parameters: methodName - the method to be invoked in response to the object |
addListener | public void addListener(Object comp, String listenerName, String argType)(Code) | | Adds a listener for an event type. This method should not normally be
called by an application
Parameters: comp - the component that fires events Parameters: listenerName - the name of the listener interface Parameters: argType - the listener arguments |
addNotify | public void addNotify()(Code) | | Repaint the component once it has been created
|
addValidation | public XValidator addValidation(Component comp, String validationName, String method, int mask)(Code) | | Adds a validation to this page.
Parameters: comp - the component being validated Parameters: validationName - the name of the validation in the validation file Parameters: method - the method used to get the component's value if any Parameters: mask - the event mask used to filter the events that trigger the validation the new and initialized XValidator |
addValidation | public XValidator addValidation(Component comp, String validationName, String method)(Code) | | Adds a validation to this page. It is assumed that the validation will be
invoked in response to FocusEvent.FOCUS_LOST events
Parameters: comp - the component being validated Parameters: validationName - the name of the validation in the validation file Parameters: method - the method used to get the component's value if any the new and initialized XValidator |
addValidation | public XValidator addValidation(Component comp, String validationName)(Code) | | Adds a validation to this page. It is assumed that the validation will be
invoked in response to FocusEvent.FOCUS_LOST events
Parameters: comp - the component being validated Parameters: validationName - the name of the validation in the validation file the new and initialized XValidator |
checkValidations | public int checkValidations()(Code) | | Check all validations for this page. Typically this method should be
invoked prior to a page transition or a critical transaction.
the maximum error level raised by the validators |
clearValidations | public void clearValidations()(Code) | | Reset/removes all validations
|
evaluateAttribute | public Object evaluateAttribute(String attribValue)(Code) | | Evaluates an attribute value. An attribute may be a value or a method call.
If brackets are part of the value it is assumed that a method call is
intended. The method call is indicated by the '$' symbol e.g. ${myMethod()}
Parameters: attribValue - the raw attribute value the evaluated attribute |
evaluatePath | public String evaluatePath(String path)(Code) | | Evaluates a path (potentially) containing a method call
Parameters: path - the raw path the evaluated path |
findComponent | public Component findComponent(String name)(Code) | | Find a named component in the container. Any child containers of the
container will be searched recursively till the named component is found.
The first component with a matching name will be returned.
Parameters: name - the name to locate the component ornull if nothing is found |
findComponent | public Component findComponent(Container container, String name)(Code) | | Find a named component in the container. Any child containers of the
container will be searched recursively till the named component is found.
The first component with a matching name will be returned.
Parameters: container - the page or container to search Parameters: name - the name to locate the component or null if nothing is found |
getAttribute | public Object getAttribute(String attribName)(Code) | | Gets an attribute value
Parameters: attribName - the name of the attribute the value |
getAttribute | public Object getAttribute(String attribName, String compName)(Code) | | Gets an attribute value
Parameters: attribName - the name of the attribute Parameters: compName - the component name the value |
getBinding | public XDataBinding getBinding(Component targetComp)(Code) | | Find the data binding associated with a component
Parameters: targetComp - the component whose binding is required the binding or null if no binding is found |
getBinding | public XDataBinding getBinding(String targetPath)(Code) | | Find the data binding associated with a data source path
Parameters: targetPath - the path to the bound model the binding or null if no binding is found |
getComponentFactory | public XComponentFactory getComponentFactory()(Code) | | Get the component factory instance being used by this page.
the component factory |
getComponentName | public String getComponentName(Component comp)(Code) | | Get a name for a component. If the component doesn't have one use the
component hashcode
Parameters: comp - the component the name |
getCurrentEvent | public AWTEvent getCurrentEvent()(Code) | | Get the current event
the AWTEvent that was last triggered |
getEventAttribute | public Object getEventAttribute(Component c, String attribName)(Code) | | Gets an attribute value
Parameters: attribName - the name of the attribute the value |
getEventHandler | public XEventHandler getEventHandler()(Code) | | Get the current event handler
the event handler |
getStatus | public int getStatus()(Code) | | Get the page status
the current status |
getValidationHandler | public XValidationHandler getValidationHandler()(Code) | | Gets the validation handler
the validation handler |
handleException | public boolean handleException(Component comp, Exception ex, XValidator validator)(Code) | | A method called when a validation exeption has been trapped.
Parameters: comp - Component being validated Parameters: ex - The exception caused Parameters: validator - The validator being used to validate. true to continue with error validation or false to suppress furthervalidation. |
isFocusChangeSuppressed | public boolean isFocusChangeSuppressed()(Code) | | Check the focus change status
true if the focus change events are being suppressed. |
pageActivated | public void pageActivated()(Code) | | A method called once the page has been created and initialized but just
prior to display
|
pageCreated | public void pageCreated()(Code) | | A method called once the page has been created but not yet initialized.
|
pageDeactivated | public void pageDeactivated()(Code) | | Called when the page is about to loose scope and be hidden.
|
paint | public void paint(Graphics g)(Code) | | Paint the background of this component with the background color
Parameters: g - |
paintSuper | public void paintSuper(Graphics g)(Code) | | This can be called instead of the paint method above so that the background
does not get painted.
Parameters: g - the Graphics object |
removeBinding | public void removeBinding(XDataBinding b)(Code) | | Remove a binding of a component to the data model.
Parameters: b - the binding |
saveBoundComponentValues | public void saveBoundComponentValues()(Code) | | Save the component values to the model
|
setAttribute | public void setAttribute(String attribName, String compName, Object attribValue)(Code) | | Set a named attributes. The attributes are stored in a hashtable owned by
the page. Derived classes may access the hashtable directly but the
preferred method of access is the getAttribute method. Attributes are used
by the XuiBuilder class for component attributes other than those it handles
directly. The attributes can be thought of as component properties or extra
data and need
not be used directly by the component.
Attributes are stored using a key in the form attribName_compName or just
the attribName if compName is null.
Parameters: attribName - the attribute name Parameters: compName - the component name or null if it is a page attribute Parameters: attribValue - the attribute value See Also: XPage.getAttribute |
setClearPage | public void setClearPage(boolean value)(Code) | | Modify the clearPage flag. This flag determines if the default behaviour is
used to update the page whereby the background is first erased and then the
content painted or alternatively if the erase is suppressed.
Parameters: value - |
setComponentFactory | public void setComponentFactory(XStyleFactory factory)(Code) | | Set the component factory instance being used by this page when constructing
new pages.
|
setEventHandler | public void setEventHandler(XEventHandler eh)(Code) | | Set the current event handler
|
setExceptionHandler | public void setExceptionHandler(XValidationExceptionHandler eh)(Code) | | Set the validation exception handler called when a validation exception is trapped
Parameters: eh - the new event handler |
setStatus | public void setStatus(int newStatus)(Code) | | Set the page status
Parameters: newStatus - the new page status |
setValidationFactory | public void setValidationFactory(XValidationFactory vf)(Code) | | Sets the factory used to create XValidator objects
Parameters: vf - |
setValidationFactory | public void setValidationFactory(String vf)(Code) | | Sets the factory used to create XValidator objects. It is assumed that the
file can be found on the classpath and that it can be read as UTF8 (by default)
Parameters: vf - the filename |
showComponents | public void showComponents(Container container, boolean visible, int recursionLevel)(Code) | | Show or hide the components. In the AWT the heavyweight peers are created
visible and paint themselves once created and therefore cause problems
for page transitions.
Parameters: container - the container Parameters: visible - the |
showHandCursor | public void showHandCursor(Component comp)(Code) | | Show the hand/pointer cursor for this component
Parameters: comp - the component |
showMessage | public void showMessage(String title, String msg)(Code) | | Shows a modal message box
Parameters: title - the message dialog title Parameters: msg - the text of the message |
showMessage | public void showMessage(Container parent, String title, String msg)(Code) | | Shows a modal message box
Parameters: parent - the message dialog parent Parameters: title - the message dialog title Parameters: msg - the text of the message |
stripAttributeValues | public String stripAttributeValues(String path)(Code) | | Remove the attribute paths from a path e.g. remove @value=ignore
Parameters: path - the path to strip the stripped path |
update | public void update(Graphics g)(Code) | | Overrides the update method so as to allow the suppression of the default
clearing of the background. If the background is not to be cleared then the
clearPage flag can be set to false using the setClearPage method.
Parameters: g - the graphics context |
updateBindings | public void updateBindings()(Code) | | Update the bound model node for each binding. First the output path is
reevaluated and then updated by setting the output node. Then the source
path is reevaluated and set. Evaluation of the paths allows derived classes
to dynamically modify the bindings. Some bindings may save the selection or
state information to the output node and subsequently use it to restore the
component state. This method does not alter the data held by the bound model
nodes. To actually save the data use saveBoundComponentValues and to update
the UI use updateBoundComponentValues.
|
updateBoundComponentValues | public void updateBoundComponentValues()(Code) | | Update the UI with values from the model
|
validationHandler | public int validationHandler()(Code) | | Invoke the validators for the last event. Multiple validations are checked
in the order in which they were added.
the maximum level returned by the validators |
wasMouseClicked | public boolean wasMouseClicked()(Code) | | A utility method used to determine if the last event corrseponds to a mouse
click. The notion of a click is extended by assuming the a mouse press and
release within a single component constitutes a click even if not at the
same coordinate. A MouseEvent.MOUSE_CLICKED is only triggered when the press
and release are at the same location and this is often inadequate for end-user
interaction.
true if the mouse was clicked |
wasMouseDoubleClicked | public boolean wasMouseDoubleClicked()(Code) | | A utility method used to determine if the last event corrseponds to a mouse
double click. The notion of a click is extended by assuming the a mouse press and
release within a single component constitutes a click even if not at the
same coordinate. A MouseEvent.MOUSE_CLICKED is only triggered when the press
and release are at the same location and this is often inadequate for end-user
interaction.
true if the mouse was double clicked |
wasMouseRightClicked | public boolean wasMouseRightClicked()(Code) | | A utility method used to determine if the last event corrseponds to a mouse
right click. The notion of a click is extended by assuming the a mouse press and
release within a single component constitutes a click even if not at the
same coordinate. A MouseEvent.MOUSE_CLICKED is only triggered when the press
and release are at the same location and this is often inadequate for end-user
interaction.
true if the mouse was right clicked |
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)
|
|
|