litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.render; public interface RenderDimensionAdapter { public String getWhat(); public Object getParent( Object pRectangularRenderableObject ); public int getInitialNonParticipatingSize(); public int getSize( Object pRectangularRenderableObject ); public void setSize( Object pRectangularRenderableObject, int pRequestedSize ); public void removeSetSize( Object pRectangularRenderableObject ); /** * Get a Container's Overhead Size - the difference between the outside size and the inside size (what is available for child RectangularRenderableObjects) * <p/> * Note: this will NOT be called until the Container is reporting proper sizes! * * @param pRectangularRenderableObject the Container */ public int getContainerOverheadSize( Object pRectangularRenderableObject ); public int getRelativePosition( Object pRectangularRenderableObject ); public void setRelativePosition( Object pRectangularRenderableObject, int pRequestedRelativePos ); } |