Interface PrototypeProvider

  • All Superinterfaces:
    com.globalmentor.beans.PropertyBindable
    All Known Implementing Classes:
    AbstractFrame.DefaultPrototypeProvider, AbstractPrototypeProvider

    public interface PrototypeProvider
    extends com.globalmentor.beans.PropertyBindable
    An object that provides prototypes. When the available prototypes change, a PROTOTYPE_PROVISIONS_PROPERTY property change event is fired. Typically provided prototypes are merged with other prototypes into menus and/or toolbars.
    Author:
    Garret Wilson
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<PrototypeProvision<?>> getPrototypeProvisions()
      Returns the prototypes provisions currently provided by this provider.
      • Methods inherited from interface com.globalmentor.beans.PropertyBindable

        addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
    • Field Detail

      • PROTOTYPE_PROVISIONS_PROPERTY

        static final java.lang.String PROTOTYPE_PROVISIONS_PROPERTY
        The prototype provisions property.
    • Method Detail

      • getPrototypeProvisions

        java.util.Set<PrototypeProvision<?>> getPrototypeProvisions()
        Returns the prototypes provisions currently provided by this provider. This is a read-only bound property.
        Returns:
        The prototypes provisions currently provided by this provider.
        See Also:
        PROTOTYPE_PROVISIONS_PROPERTY