本文整理了Java中javax.swing.text.MutableAttributeSet.getAttributeCount()
方法的一些代码示例,展示了MutableAttributeSet.getAttributeCount()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MutableAttributeSet.getAttributeCount()
方法的具体详情如下:
包路径:javax.swing.text.MutableAttributeSet
类名称:MutableAttributeSet
方法名:getAttributeCount
暂无
代码示例来源:origin: org.apache.portals.applications/apa-webcontent2-portlets
public int getLength()
{
return swingset.getAttributeCount();
}
代码示例来源:origin: org.apache.portals.applications/apa-webcontent-jar
public int getLength()
{
return swingset.getAttributeCount();
}
代码示例来源:origin: org.apache.maven.doxia/doxia-module-fo
/**
* Builds a set of attributes.
*
* @param attributeId A unique id to identify the set of attributes.
* This should correspond to the name of an attribute-set
* defined in the configuration file.
* @return A MutableAttributeSet that contains the attributes with
* the values configured for the current builder. Returns null
* if attributeId is null or empty, or if attributeId is not a valid identifier.
*/
public MutableAttributeSet getAttributeSet( String attributeId )
{
if ( attributeId == null || attributeId.length() == 0 )
{
return null;
}
reset();
addAttributes( attributeId );
if ( attributeSet.getAttributeCount() == 0 )
{
return null;
}
return attributeSet;
}
代码示例来源:origin: org.piccolo2d/piccolo2d-core
if (clientProperties.getAttributeCount() == 0 && clientProperties.getResolveParent() == null) {
clientProperties = null;
内容来源于网络,如有侵权,请联系作者删除!