Class PendingImageActionControl

All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, ActionControl, Component, Control, ImageComponent, InputFocusableComponent, PendingImageComponent, ActionListenable, ActionModel, Displayable, Enableable, ImageModel, InfoModel, LabelModel, Model, PendingImageModel, PresentationModel, DepictedObject

public class PendingImageActionControl extends ImageActionControl implements PendingImageComponent
A pending image component that is also an action control. If a PendingImageModel is used, the image reflects the value of the model's PendingImageModel.isImagePending() value. Otherwise, the pending status will reflect whether AbstractImageComponent.getImageURI() is non-null.
Author:
Garret Wilson
  • Constructor Details

    • PendingImageActionControl

      public PendingImageActionControl()
      Default constructor.
    • PendingImageActionControl

      public PendingImageActionControl(ImageModel imageModel)
      Image model constructor.
      Parameters:
      imageModel - The component image model.
    • PendingImageActionControl

      public PendingImageActionControl(InfoModel infoModel, ImageModel imageModel, ActionModel actionModel, Enableable enableable)
      Info model, image model, action model, and enableable object constructor.
      Parameters:
      infoModel - The component info model.
      imageModel - The component image model.
      actionModel - The component action model.
      enableable - The enableable object in which to store enabled status.
      Throws:
      NullPointerException - if the given info model, image model, action model, and/or enableable object is null.
  • Method Details