|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.layout.RulerLines
public class RulerLines
标尺线集合类。
方法摘要 | |
---|---|
int |
add(RulerLine rulerLin)
向集合中添加标尺线对象,添加成功返回被添加对象的序号。 |
int |
addRange(RulerLine[] rulerLines)
向集合中添加标尺线对象(以数组的形式),返回成功添加的标尺线对象的个数。 |
void |
clear()
清空集合中的所有标尺线对象。 |
RulerLine |
get(int index)
返回集合中指定索引的标尺线对象。 |
int |
getCount()
返回标尺线的个数。 |
boolean |
isVisible()
返回所有的标尺线对象是否可见。 |
boolean |
remove(int index)
在集合中删除指定序号的标尺线对象,成功返回 true。 |
int |
removeRange(int index,
int count)
在集合中从指定序号开始删除标尺线对象,指定删除 count 个,返回被成功删除的对象的个数。 |
void |
setVisible(boolean value)
设置是否所有的标尺线均可见。 |
RulerLine[] |
toArray()
将标尺线集合对象转换为标尺线对象数组。 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
方法详细信息 |
---|
public int getCount()
public RulerLine get(int index)
index
- 指定的索引。
public boolean isVisible()
public void setVisible(boolean value)
value
- 一个布尔值指定是否标尺线可见。public int add(RulerLine rulerLin)
rulerLin
- 被添加的标尺线对象。
public int addRange(RulerLine[] rulerLines)
rulerLines
- 被添加的标尺线对象数组。
public boolean remove(int index)
index
- 指定的标尺线对象序号。
public int removeRange(int index, int count)
index
- 指定的开始序号。count
- 指定的删除个数。
public void clear()
public RulerLine[] toArray()
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |