public class GridPanel extends ContainerComponent
emptyRectangle| Constructor and Description |
|---|
GridPanel()
Initializes a new instance of the GridPanel class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
arrangeComponents(android.graphics.RectF availableSpace,
android.graphics.Canvas g2d)
ContainerComponent.arrangeComponents override.
|
java.util.ArrayList<GridColumn> |
getColumns()
Gets a list with the definitions of all columns in the grid.
|
Dimension |
getDesiredSize(Dimension availableSize,
android.graphics.Canvas g2d)
ContainerComponent.getDesiredSize override.
|
java.util.ArrayList<GridRow> |
getRows()
Gets a list with the definitions of all rows in the grid.
|
protected void |
loadFromXml(org.w3c.dom.Element xmlElement,
XmlPersistContext context)
ContainerComponent.loadFromXml override.
|
void |
readExternal(java.io.ObjectInput in)
ContainterComponent.readExternal override.
|
protected void |
saveToXml(org.w3c.dom.Element xmlElement,
XmlPersistContext context)
ContainerComponent.saveToXml override.
|
void |
writeExternal(java.io.ObjectOutput out)
ContainerComponent.writeExternal override.
|
accept, addChild, draw, getChildCount, getComponents, loadComponents, saveComponentscontains, createOutlinePath, find, getBounds, getCursor, getDocumentBounds, getFocusable, getGridColumn, getGridRow, getHeight, getHorizontalAlignment, getIsEnabled, getIsFocused, getIsHitTestVisible, getIsInteractive, getName, getParent, getParentHost, getVerticalAlignment, getVisible, getWidth, invalidate, invalidateLayout, onAddedToParent, onContextChanged, onGotFocus, onKeyPress, onLostFocus, onMouseDown, onMouseMove, onMouseUp, onRemovedFromParent, onUnitChanged, onZoomChanged, serializeSubcomponents, setBounds, setFocusable, setGridColumn, setGridRow, setHeight, setHorizontalAlignment, setIsEnabled, setIsFocused, setIsHitTestVisible, setIsInteractive, setName, setParent, setVerticalAlignment, setVisible, setWidth, toDocument, toLocal, toParentpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class ContainerComponentjava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class ContainerComponentjava.io.IOExceptionjava.lang.ClassNotFoundExceptionprotected void saveToXml(org.w3c.dom.Element xmlElement,
XmlPersistContext context)
saveToXml in class ContainerComponentxmlElement - An Element the component's data should be stored into.context - An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.protected void loadFromXml(org.w3c.dom.Element xmlElement,
XmlPersistContext context)
loadFromXml in class ContainerComponentxmlElement - An Element containing the component's data.context - An XmlPersistContext object providing contextual information about the serialization process and some helper serialization methods.public void arrangeComponents(android.graphics.RectF availableSpace,
android.graphics.Canvas g2d)
arrangeComponents in class ContainerComponentavailableSpace - The space available for arrangement.g2d - A relevant Canvas object.public Dimension getDesiredSize(Dimension availableSize, android.graphics.Canvas g2d)
getDesiredSize in class ComponentBaseavailableSize - The available size.g2d - A relevant Canvas object.public java.util.ArrayList<GridRow> getRows()
public java.util.ArrayList<GridColumn> getColumns()