| de.ug2t.unifiedGui.interfaces.IUnBox
All known Subclasses: de.ug2t.channel.ho.client.swing.HoSwingBox, de.ug2t.channel.markup.generic.MuGenericBox, de.ug2t.channel.ho.server.generic.HoSrvGenericBox,
IUnBox | public interface IUnBox extends IUnContainer,IUnComponent(Code) | | author: dirk author: IUnBox is the interface to the boxes. A box is a container which aligns it's author: children either from left to right or from top to bottom. A box might have author: different borders on each side. Alignment, margin and padding settings are author: available as well. The box model is similar to css border-box model. A box author: has two render modes, a layouted one which renders all properties correctly. author: And a simple one which is much more performant but might not render author: alignments, gaps and flexible components correctly. Use this one e.g. for author: cells of large tables. |
Inner Class :public static class Factory | |
Inner Class :public class BoxHelper | |
BORDER_DASHED | final public static int BORDER_DASHED(Code) | | |
BORDER_DOTTED | final public static int BORDER_DOTTED(Code) | | |
BORDER_DOUBLE | final public static int BORDER_DOUBLE(Code) | | |
BORDER_LINE | final public static int BORDER_LINE(Code) | | |
BORDER_STYLES | final public static String[] BORDER_STYLES(Code) | | |
BOTTOM | final public static int BOTTOM(Code) | | |
BOX_CONSTRAINT_FLEX | final public static int BOX_CONSTRAINT_FLEX(Code) | | |
BOX_CONSTRAINT_FLEXFILLX | final public static int BOX_CONSTRAINT_FLEXFILLX(Code) | | |
BOX_CONSTRAINT_FLEXFILLXY | final public static int BOX_CONSTRAINT_FLEXFILLXY(Code) | | |
BOX_CONSTRAINT_FLEXFILLY | final public static int BOX_CONSTRAINT_FLEXFILLY(Code) | | |
BOX_CONSTRAINT_NONE | final public static int BOX_CONSTRAINT_NONE(Code) | | |
HBOX | final public static int HBOX(Code) | | |
LAYOUTED | final public static int LAYOUTED(Code) | | |
LEFT | final public static int LEFT(Code) | | |
RIGHT | final public static int RIGHT(Code) | | |
SIMPLE | final public static int SIMPLE(Code) | | |
SINGLE | final public static int SINGLE(Code) | | |
TOP | final public static int TOP(Code) | | |
VBOX | final public static int VBOX(Code) | | |
pcmf_setBgImage | public void pcmf_setBgImage(IUnImage xImg)(Code) | | author: Dirk author: Sets the background imgage of the box Parameters: xImg - background image |
pcmf_setBorder | public void pcmf_setBorder(int xDir, String xCol, int xWidth, int xStyle)(Code) | | author: Dirk author: Sets a border to one side of the box Parameters: xDir - LEFT | RIGTHT | TOP | BOTTOM the side of the box where the borderappears Parameters: xCol - color of the border Parameters: xWidth - width of the border Parameters: xStyle - BORDER_DASED | BORDER_DOTTED | BORDER_DOUBLE | BORDER_LINE styleof the border |
pcmf_setBoxAlign | public void pcmf_setBoxAlign(String xAlign)(Code) | | author: Dirk author: Sets the alignment of all Components rendered within the box Parameters: xAlign - NORTH | EAST | WEST | SOUTH and combinations like NORTHWEST |
pcmf_setBoxHVType | public void pcmf_setBoxHVType(int xType)(Code) | | author: Dirk author: Sets whether the box is a horizontal or a verical box Parameters: xType - HBOX | VBOX |
pcmf_setBoxType | public void pcmf_setBoxType(int xType)(Code) | | author: Dirk author: Sets the type of the box. A Simple box renders only the borders, margins, author: paddings and direction correctly. Alignment and constraints are working author: partly correct. It is much faster in rendering than the layouted box. A author: Single box only renders one child and the borders, margins, paddings and author: orientation WEST | EAST | CENTER. Use this one to box many single items author: like labels. Parameters: xType - SIMPLE | LAYOUTED | SINGLE |
pcmf_setContraint | public void pcmf_setContraint(UnComponent xObj, int xConstraint)(Code) | | author: Dirk author: Sets a layout contraint to a Component Parameters: xObj - Component Parameters: xConstraint - BOX_CONSTRAINT_NONE | BOX_CONSTRAINT_FLEX |BOX_CONSTRAINT_FLEXFILLX | BOX_CONSTRAINT_FLEXFILLY |BOX_CONSTRAINT_FLEXFILLXY |
pcmf_setGap | public void pcmf_setGap(int xGap)(Code) | | author: Dirk author: Sts the gap between the Components of the box in pixel Parameters: xGap - gap in pixel |
pcmf_setMargin | public void pcmf_setMargin(int xDir, int xWidth)(Code) | | author: Dirk author: Sets the margin to one side of the box. argin is the space between the author: border and the outer frame of the box Parameters: xDir - LEFT | RIGTHT | TOP | BOTTOM the side of the box where the paddingappears Parameters: xWidth - space in pixel |
pcmf_setPadding | public void pcmf_setPadding(int xDir, int xWidth)(Code) | | author: Dirk author: Sets the padding to one side of the box. Padding is the space between the author: content and the box Parameters: xDir - LEFT | RIGTHT | TOP | BOTTOM the side of the box where the paddingappears Parameters: xWidth - space in pixel |
|
|