< prev index next >

src/java.desktop/share/classes/javax/swing/text/StyleConstants.java

Print this page

        

*** 733,743 **** /** * Gets the alignment setting. * * @param a the attribute set ! * @return the value <code>StyleConstants.ALIGN_LEFT</code> if not set */ public static int getAlignment(AttributeSet a) { Integer align = (Integer) a.getAttribute(Alignment); if (align != null) { return align.intValue(); --- 733,743 ---- /** * Gets the alignment setting. * * @param a the attribute set ! * @return the value {@code StyleConstants.ALIGN_LEFT} if not set */ public static int getAlignment(AttributeSet a) { Integer align = (Integer) a.getAttribute(Alignment); if (align != null) { return align.intValue();
*** 757,767 **** /** * Gets the TabSet. * * @param a the attribute set ! * @return the <code>TabSet</code> */ public static TabSet getTabSet(AttributeSet a) { TabSet tabs = (TabSet)a.getAttribute(TabSet); // PENDING: should this return a default? return tabs; --- 757,767 ---- /** * Gets the TabSet. * * @param a the attribute set ! * @return the {@code TabSet} */ public static TabSet getTabSet(AttributeSet a) { TabSet tabs = (TabSet)a.getAttribute(TabSet); // PENDING: should this return a default? return tabs;
< prev index next >