Interface ExtendedTarget
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface ExtendedTarget

public interface netscape.application.ExtendedTarget
    implements netscape.application.Target
{
    /* Fields
     */
    public final static String COPY;
    public final static String CUT;
    public final static String NEW_FONT_SELECTION;
    public final static String PASTE;
    public final static String SET_FONT;
    public final static String SHOW_COLOR_CHOOSER;
    public final static String SHOW_FONT_CHOOSER;

    /* Methods
     */
    public abstract boolean canPerformCommand(String);
}
Interface enabling a Target to declare the commands it can perform. For example, a TextView implements the ExtendedTarget interface and returns true when asked if it can perform the ExtendedTarget.SET_FONT command. The static strings defined by this interface have special meaning within the IFC library.
See Also:
Target

Fields

SET_FONT

  public final static String SET_FONT
Command to change font to the one passed as the "data" argument.

NEW_FONT_SELECTION

  public final static String NEW_FONT_SELECTION
Command to set the current font in the Font Chooser.

SHOW_FONT_CHOOSER

  public final static String SHOW_FONT_CHOOSER
Command to make the FontChooser visible.

SHOW_COLOR_CHOOSER

  public final static String SHOW_COLOR_CHOOSER
Command to make the ColorChooser visible.

COPY

  public final static String COPY
Command to copy

CUT

  public final static String CUT
Command to cut

PASTE

  public final static String PASTE
Command to paste

Methods

.canPerformCommand

  public abstract boolean canPerformCommand(String command)
Returns true if the object can perform command.

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Copyright © 1997 Netscape Communications Corporation. All rights reserved
Please send any comments or corrections to ifcfeedback@netscape.com
HTML generated on 21 Oct 1997