Package com.iizix.prop
Interface IUIBounds
public interface IUIBounds
Interface implemented by components in the Designer to return the pixel bounds.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GRect
getBounds()
Gets the current bounds of the component relative the "page" document.<GP extends IGProp<?>>
GPgetProp(Atom atom, java.lang.Class<GP> clazz)
Gets the property with theatom
name and checking the class instance of the property.
Method Detail
getProp
<GP extends IGProp<?>> GP getProp(Atom atom, java.lang.Class<GP> clazz)
Gets the property with theatom
name and checking the class instance of the property. An error message is logged if the class is not matching.- Parameters:
atom
- the atom of the property to locate in this property container.clazz
- the class the property must be or extend, null for no checking.- Returns:
- GProp the property or
null
for uninitialized container or the property with specified name is not found, or the class type is not an instance of the specified class.
getBounds
default GRect getBounds()
Gets the current bounds of the component relative the "page" document.- Returns:
- The rectangle, or null if not yet defined.