|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.map.MapTip
public class MapTip

Holder of MapTip information.
| Constructor Summary | |
|---|---|
MapTip()
Creates a maptip with the default display field of the layer. |
|
MapTip(LinkedHashMap<String,String> displayFields)
Creates a maptip with the provided display fields. |
|
| Method Summary | |
|---|---|
Color |
getBackground()
Returns the background. |
Border |
getBorder()
Returns the border. |
LinkedHashMap<String,String> |
getDisplayFields()
Returns the display fields used. |
Font |
getFont()
Returns the font used. |
Color |
getForeground()
Returns the foreground. |
boolean |
isEnabled()
Returns whether the maptip is enabled. |
void |
setBackground(Color background)
Sets the background. |
void |
setBorder(Border border)
Sets the border to be used. |
void |
setDisplayFields(LinkedHashMap<String,String> displayFields)
Sets the display fields. |
void |
setEnabled(boolean enabled)
Set to true to enable maptip, false, otherwise. |
void |
setFont(Font font)
Sets the font to be used. |
void |
setForeground(Color foreground)
Sets the foreground. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapTip(LinkedHashMap<String,String> displayFields)
displayFields - fields to be displayed in this maptip.public MapTip()
| Method Detail |
|---|
public void setDisplayFields(LinkedHashMap<String,String> displayFields)
displayFields - fields to be displayed in this maptip.public LinkedHashMap<String,String> getDisplayFields()
public Color getBackground()
public void setBackground(Color background)
background - the color to be used for background.public Border getBorder()
public void setBorder(Border border)
border - the border to be used.public Color getForeground()
public void setForeground(Color foreground)
foreground - the color of the text to be used.public Font getFont()
public void setFont(Font font)
font - the font to be used.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - flag to indicate whether to enable maptip.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||