Class MUISimpleDialog

All Implemented Interfaces:
EventListener, IFocusComp, IMessageBox, IUIPanelAnimation, IComponent, IClassReferenceOwner, ICustomDataProvider, IGProp<GProp<?>[]>, IPropCnr, IReferrerParticipant, ISelectorOwner, IUIClassReferenceOwner, IUIComp, IUIContainer, IUIContextMenuOwner, IUIFocusComp, IUIGroupSeparator, IUIPanelOwner, IUIHTMLTextComponent, IUITextComponent, IVSAccessor, IVSComponentListener, IVSComponentState, IVSFieldListener, IVSGenericComponentListener, IVSParticipant, Cloneable
Direct Known Subclasses:
EMUISimpleDialog

public class MUISimpleDialog extends UIPanelBase implements IUIHTMLTextComponent
Simple mobile popup dialog.
Author:
Christopher Mindus
  • Constructor Details

    • MUISimpleDialog

      public MUISimpleDialog()
      Creates the container without name with a null value.
    • MUISimpleDialog

      public MUISimpleDialog(Atom propertyAtom)
      Creates the container with the specified name with a null value.
      Parameters:
      propertyAtom - the property atom.
  • Method Details

    • getParticipantType

      public String getParticipantType()
      Returns the given type of the referrer participant.
      Specified by:
      getParticipantType in interface IReferrerParticipant
      Overrides:
      getParticipantType in class UIPanelBase
    • getDeviceType

      public final int getDeviceType()
      Gets the device type: -1=mobile, 0=both, 1=desktop.
      Specified by:
      getDeviceType in interface IUIComp
      Overrides:
      getDeviceType in class UIPanelBase
    • isDesktopType

      public boolean isDesktopType()
      Checks if this panel is of desktop type. (For now, this is the same as not mobile type...)
      Overrides:
      isDesktopType in class UIPanelBase
      Returns:
      false, always.
    • isMobileType

      public boolean isMobileType()
      Checks if this panel is of mobile type.
      Overrides:
      isMobileType in class UIPanelBase
      Returns:
      true, always.
    • isPopupPanel

      public boolean isPopupPanel()
      Returns if this is a pop-up panel placed on top of main panels.
      Overrides:
      isPopupPanel in class UIPanelBase
      Returns:
      The default panel returns false.
    • getOnCreateExistingPanelProcessing

      public int getOnCreateExistingPanelProcessing()
      Returns how to process pop-up panels when this panel is virtualized.
      Overrides:
      getOnCreateExistingPanelProcessing in class UIPanelBase
      Returns:
      Mobile simple dialogs are never stacked, so this method returns PP_REPLACE_ALL_POPUPS = replace all pop-up panels with this one.
    • hasExplicitWidth

      public boolean hasExplicitWidth()
      Verifies if the component has a width.

      This means a width that is either present due to the component or that the width has explicitly been set, or that it is in a container that sets the outer bounds of the component.

      Overrides:
      hasExplicitWidth in class UIComp
      Returns:
      true if the width is defined and non-zero, false otherwise.
    • hasExplicitHeight

      public boolean hasExplicitHeight()
      Verifies if the component has an implicit height.

      This means a height that is either present due to the component or that the height has explicitly been set, or that it is in a container that sets the outer bounds of the component.

      Overrides:
      hasExplicitHeight in class UIComp
      Returns:
      true if the height is defined and non-zero, false otherwise.