Skip to content

Instantly share code, notes, and snippets.

View kevzlou7979's full-sized avatar

Mark Kevin Baldemor kevzlou7979

  • Manila, Philippines
View GitHub Profile
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
public class MaterialDropDown extends UnorderedList implements Loader, HasConfiguration, HasSelectionHandlers<Widget>, HasInOutDurationTransition {
private int inDuration = 300;
private int outDuration = 225;
private int gutter = 0;
private boolean constrainWidth = true;
private boolean hover = false;
private boolean belowOrigin = false;
private Alignment alignment = Alignment.LEFT;
private List<Widget> children = new ArrayList<>();
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
public class ViewPortManager {
private HandlerRegistration windowResizeHandler;
private List<ViewPortHelper.ViewPort> viewPorts;
public ViewPortManager when(ViewPortHelper.ViewPort... viewPorts) {
this.viewPorts = Arrays.asList(viewPorts);
return this;
}
package com.insclix.auction.client.page.claims;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.insclix.auction.shared.models.Claims;
import com.insclix.errai.mvc.client.controller.NoControls;
import com.insclix.errai.mvc.client.view.AbstractModelView;
import com.insclix.errai.mvc.client.view.AbstractView;
import com.insclix.errai.mvc.client.view.ViewComposite;
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
/*
* #%L
* Errai Prototype
* %%
* Copyright (C) 2015 - 2017 Doltech
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
/*
* #%L
* Errai Prototype
* %%
* Copyright (C) 2015 - 2016 Doltech
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
/*
* #%L
* Errai Prototype
* %%
* Copyright (C) 2015 - 2017 Doltech
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*