Method Summary |
|
public SComponent | addActionListener(ActionListener l) Add an ActionEvent listener. |
public SComponent | addComponentListener(ComponentListener listener) Adds the specified component listener to receive component events from
this component. |
public SComponent | addFocusListener(FocusListener listener) Adds the specified focus listener to receive focus events from
this component when this component gains input focus. |
public SComponent | addKeyListener(KeyListener listener) Adds the specified key listener to receive key events from
this component. |
public SComponent | addMouseListener(MouseListener listener) Adds the specified mouse listener to receive mouse events from
this component. |
public SComponent | addMouseMotionListener(MouseMotionListener listener) Adds the specified mouse motion listener to receive mouse motion events from
this component. |
public void | addNotify() Notifies this component that it has been added to a container. |
public synchronized SComponent | addPropertyChangeListener(PropertyChangeListener listener) |
public synchronized SComponent | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) |
public SComponent | addScript(SScript script) Add the script. |
protected SComponent | addUIListener(EventListener listener) Utility method to add a listener to the current UI. |
protected String | constructComponentName() Construct a name for this component. |
public void | dispatchEvent(AWTEvent event) Dispatches an event to this component or one of its sub components. |
public boolean | equals(Object object) Equals is based on the name and class. |
public void | firePropertyChange() |
final public void | firePropertyChange(String propertyName, Object oldValue, Object newValue) |
final protected void | firePropertyChange(String propertyName, byte oldValue, byte newValue) |
final protected void | firePropertyChange(String propertyName, char oldValue, char newValue) |
final protected void | firePropertyChange(String propertyName, short oldValue, short newValue) |
final protected void | firePropertyChange(String propertyName, int oldValue, int newValue) |
final protected void | firePropertyChange(String propertyName, long oldValue, long newValue) |
final protected void | firePropertyChange(String propertyName, float oldValue, float newValue) |
final protected void | firePropertyChange(String propertyName, double oldValue, double newValue) |
final protected void | firePropertyChange(String propertyName, boolean oldValue, boolean newValue) |
public SContainer | getAncestorNamed(String name) Convenience method for searching above this in the
component hierarchy and returns the first object of name it
finds. |
public SContainer | getAncestorOfClass(Class clazz) Convenience method for searching above this in the
component hierarchy and returns the first object of clazz it
finds. |
public SColor | getBackground() Gets the background color of this component, or the parents background. |
public SBorder | getBorder() Returns the border of this component or null if no border is
currently set. |
public Enumeration | getClientKeys() |
final public Object | getClientProperty(Object key) Returns the value of the property with the specified key. |
final public Object | getClientProperty(Object key, Object defaultValue) Returns the value of the property with the specified key. |
public int | getClientPropertyCount() |
public SComponent | getComponent(String name) Get a sub component by name. |
public String | getComponentUrl() Get the URL for this component. |
public String | getContentType() Returns the MIME type for the current components. |
public Cursor | getCursor() Get the cursor. |
public SFont | getFont() Gets the font of this component. |
public SColor | getForeground() Gets the foreground color of this component. |
public int | getHorizontalAlignment() Returns the alignment of the component along the X axis. |
public Locale | getLocale() Gets the locale of this component. |
public SLookAndFeel | getLookAndFeel() |
public String | getName() Gets the name of the component. |
public SContainer | getParent() Gets the parent of this component. |
public int | getScriptCount() Get script count. |
public Enumeration | getScripts() Get the script. |
public Dimension | getSize() Returns the size of this component in the form of a
|
public SwingletManager | getSwingletManager() Get the SwingletManager associated with this session.
SwingletManagers are associated by thread. |
public int | getTabIndex() Get the tab index. |
public String | getToolTipText() |
public SContainer | getTopLevelAncestor() Get the top most component in the containment hierarchy. |
public SComponentUI | getUI() Get the UI on this component. |
public Class | getUIClass() Returns the name of the L&F class that renders this component. |
public int | getVerticalAlignment() Returns the alignment of the component along the Y axis. |
final protected boolean | hasListeners() Check if there are any listeners on the bean. |
final protected boolean | hasListeners(String propertyName) Check if there are any listeners for a specific property. |
public int | hashCode() Hashcode. |
public boolean | isCached() Check whether the painting cached in a String. |
public boolean | isEnabled() Determines whether this component is enabled. |
public boolean | isFiringSuspended() |
public boolean | isOpaque() Check whether this component is opaque. |
public boolean | isVisible() Determines whether this component is visible. |
public void | onFirstPaint() This is the first time this object is painted. |
public void | onPaintComponent() |
public void | onPaintComponentFooter() |
public void | onPaintComponentHeader() |
public void | onPaintHeader() |
public void | paint(Object out) Paint this component header, then body to the Object
This can be a PrintWriter, OutputStream or Graphics,
depending on the LookAndFeel. |
public void | paintComponent(Object out) Paint this component body. |
public void | paintComponentFooter(Object out) Paint this component footer. |
public void | paintComponentHeader(Object out) Paint this component header. |
public void | paintHeader(Object out) Paint this component in the header. |
public void | processActionEvent(ActionEvent event) Process an ActionEvent. |
protected void | processEvent(AWTEvent event) Processes events occurring on this component. |
final public SComponent | putClientProperty(Object key, Object value) Add an arbitrary key/value "client property" to this component. |
public SComponent | removeActionListener(ActionListener l) Remove an ActionEvent listener. |
public SComponent | removeComponentListener(ComponentListener listener) Removes the specified component listener so that it no longer
receives component events from this component. |
public SComponent | removeFocusListener(FocusListener listener) Removes the specified focus listener so that it no longer
receives focus events from this component. |
public SComponent | removeKeyListener(KeyListener listener) Removes the specified key listener so that it no longer
receives key events from this component. |
public SComponent | removeMouseListener(MouseListener listener) Removes the specified mouse listener so that it no longer
receives mouse events from this component. |
public SComponent | removeMouseMotionListener(MouseMotionListener listener) Removes the specified mouse motion listener so that it no longer
receives mouse motion events from this component. |
public void | removeNotify() Notifies this component that it has been remove from its container. |
public synchronized SComponent | removePropertyChangeListener(PropertyChangeListener listener) |
public synchronized SComponent | removePropertyChangeListener(String propertyName, PropertyChangeListener listener) |
public SComponent | removeScript(SScript script) Remove the script. |
protected SComponent | removeUIListener(EventListener listener) Utility method to remove a listener to the current UI. |
public SComponent | setBackground(SColor background) Sets the background color of this component. |
public SComponent | setBorder(SBorder border) Sets the border of this component. |
public void | setCached(boolean cached) Set whether the painting cached in a String. |
public void | setCursor(Cursor cursor) Set the cursor. |
public SComponent | setEnabled(boolean enabled) Enables or disables this component depending on the value of parameter.
Netscape doesn't implement this. |
public void | setFiringSuspended(boolean firingSuspended) |
public SComponent | setFont(String name, int style, int size) Sets the font of this component. |
public SComponent | setFont(SFont font) Sets the font of this component. |
public SComponent | setForeground(SColor foreground) Sets the foreground color of this component. |
public SComponent | setHorizontalAlignment(int horizontalAlignment) Sets the alignment of the component along the X axis. |
public SComponent | setLocale(Locale locale) Sets the locale of this component. |
public SComponent | setLookAndFeel(String lookAndFeel) Set the Look and Feel, and update the UI. |
public SComponent | setLookAndFeel(SLookAndFeel lookAndFeel) Set the Look and Feel, and update the UI. |
public SComponent | setName(String name) Sets the name of the component to the specified string. |
public SComponent | setOpaque(boolean opaque) Sets the opacity background color of this component. |
public SComponent | setParent(SContainer parent) Sets the parent of this component. |
public SComponent | setSize(int width, int height) Resizes this component so that it has width |
public SComponent | setSize(Dimension size) Resizes this component so that it has width |
public void | setSwingletManager(SwingletManager swingletManager) Set the SwingletManager associated with this session. |
public SComponent | setTabIndex(int tabIndex) Set the tab index. |
public SComponent | setToolTipText(String toolTipText) C
Registers the text to display in a tool tip. |
public SComponent | setUI(SComponentUI ui) Set the UI on this component. |
public SComponent | setValueAsText(String text) Set the value as Text. |
public SComponent | setVerticalAlignment(int verticalAlignment) Sets the alignment of the component along the Y axis. |
public SComponent | setVisible(boolean visible) Shows or hides this component depending on the value of parameter . |
public String | toString() To String returns the stream that would be painted. |