com.alkacon.geranium.client.ui
public class HighlightingBorder extends com.google.gwt.user.client.ui.Composite
| Modifier and Type | Class and Description |
|---|---|
static class |
HighlightingBorder.BorderColor
Enumeration of available border colours.
|
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.dom.client.DivElement |
m_borderBottom
The bottom border.
|
protected com.google.gwt.dom.client.DivElement |
m_borderLeft
The left border.
|
protected com.google.gwt.dom.client.DivElement |
m_borderRight
The right border.
|
protected com.google.gwt.dom.client.DivElement |
m_borderTop
The top border.
|
| Constructor and Description |
|---|
HighlightingBorder(com.google.gwt.user.client.Element positioningParent,
HighlightingBorder.BorderColor color)
Constructor.
|
HighlightingBorder(int height,
int width,
int positionLeft,
int positionTop,
HighlightingBorder.BorderColor color)
Constructor.
|
HighlightingBorder(PositionBean position,
HighlightingBorder.BorderColor color)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
hide()
Hides the border.
|
void |
resetPosition()
Recalculates the position and dimension when a positioning parent is given.
|
void |
setPosition(int height,
int width,
int positionLeft,
int positionTop)
Sets the border position.
|
void |
setPosition(PositionBean position)
Sets the border position.
|
void |
show()
Shows the border.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents@UiField protected com.google.gwt.dom.client.DivElement m_borderBottom
@UiField protected com.google.gwt.dom.client.DivElement m_borderLeft
@UiField protected com.google.gwt.dom.client.DivElement m_borderRight
@UiField protected com.google.gwt.dom.client.DivElement m_borderTop
public HighlightingBorder(com.google.gwt.user.client.Element positioningParent,
HighlightingBorder.BorderColor color)
positioningParent - the element the border is positioned around, position is set relative to itcolor - the border colorpublic HighlightingBorder(int height,
int width,
int positionLeft,
int positionTop,
HighlightingBorder.BorderColor color)
height - the heightwidth - the widthpositionLeft - the absolute left positionpositionTop - the absolute top positioncolor - the border colorpublic HighlightingBorder(PositionBean position, HighlightingBorder.BorderColor color)
position - the position datacolor - the border colorpublic void hide()
public void resetPosition()
public void setPosition(int height,
int width,
int positionLeft,
int positionTop)
height - the heightwidth - the widthpositionLeft - the absolute left positionpositionTop - the absolute top positionpublic void setPosition(PositionBean position)
position - the position datapublic void show()