public class IltSecondaryStatePositioner extends Object
There can only be one icon on each side of an element.
The ordinary positions are numbered from 0 and are used for all types of elements (network elements, links, groups, shelf items). If no icon ends up being placed at a position, the position remains transparent. If two icons end up at the same position, the second one is placed on a free position.
Modifier and Type | Method and Description |
---|---|
static IltSecondaryStatePositioner |
GetInstance()
Returns the only instance of
IltSecondaryStatePositioner . |
IltDecorationSource |
getInState()
Returns the state that is placed at the InState position.
|
IltDecorationSource |
getOutState()
Returns the state that is placed at the OutState position.
|
int |
getPosition(IltDecorationSource state)
Returns the position assigned to the specified state, or -1 if
none is found.
|
boolean |
isStackerActive() |
void |
setInState(IltDecorationSource state)
Sets the state that is placed at the InState position.
|
void |
setOutState(IltDecorationSource state)
Sets the state that is placed at the OutState position.
|
void |
setPosition(IltDecorationSource state,
int position)
Assigns a position in the secondary state stacker to a specific
state.
|
public static IltSecondaryStatePositioner GetInstance()
IltSecondaryStatePositioner
.
The class is a Singleton.public boolean isStackerActive()
public void setPosition(IltDecorationSource state, int position)
public int getPosition(IltDecorationSource state)
public void setInState(IltDecorationSource state)
public IltDecorationSource getInState()
public void setOutState(IltDecorationSource state)
public IltDecorationSource getOutState()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.