Material Window

Overview

Material window is a window with a top bar and a return button that supports slide animations with their entire layout made based on the Google Material Design specifications.

Because this is a more complex example, they choose to only sample part of the main interface and a call from the Material Window. To see the complete example click here

Source Code

Methods

Type

Name

Description

Constructor

MaterialWindow(Presenter<Container> provider)

Creates an MaterialWindow that receives a provider that provides the components to be inserted in the window.

Constructor

MaterialWindow(boolean delayInitUI, Presenter<Container> provider)

Creates an MaterialWindow, that may have a initUI delay, which receives a provider that provides the components to be inserted in the window

Construtor

MaterialWindow(String title, boolean delayInitUI, Presenter<Container> provider)

Creates an MaterialWindow, that may have a initUI delay, with the given title that receives a provider that provides the components to be inserted in the window

void

setBarFont(Font f)

Sets the bar font.

void

setTitle(String title)

Sets the title.

String

getTitle()

Returns the Title.

void

unpop( )

Unpop the MaterialWindow.

void

popup( )

Popup the MaterialWindow.

References

Last updated

Was this helpful?