blob: 266a230a8be407c3dd51e89783dd31c96a126128 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 Laurent CARON.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Laurent CARON (laurent.caron@gmail.com) - initial API and implementation
*******************************************************************************/
package org.mihalis.opal.transitionComposite;
/**
* In this transition, the second control is behind, the first control is
* sliding from left to right.
*/
public class LeftRightAppearTransition extends HorizontalTransition {
/**
* Gets the coeff.
*
* @return the coeff
* @see org.mihalis.opal.transitionComposite.HorizontalTransition#getCoeff()
*/
@Override
protected int getCoeff() {
return 1;
}
/**
* Second is behind.
*
* @return true, if successful
* @see org.mihalis.opal.transitionComposite.HorizontalTransition#secondIsBehind()
*/
@Override
protected boolean secondIsBehind() {
return false;
}
}