Ignore:
Timestamp:
04/08/19 15:59:17 (5 years ago)
Author:
bln4
Message:

Added placeholders as a thing for text items. You can now provide default text for a text item. Inject the property 'Placeholder: <text>' were <text> is the placeholder text. When the placeholder is being used, the font color alpha is reduced.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/AttributeUtils.java

    r1227 r1296  
    315315                        _Attrib.put("Mask",                             Text.class.getMethod("getMask"),
    316316                                                                                                Text.class.getMethod("setMask", pIntO));
     317                        _Attrib.put("Placeholder",                      Text.class.getMethod("getPlaceholder"),
     318                                                                                                Text.class.getMethod("setPlaceholder", pString));
    317319                       
    318320                        // Aliases for attribute setting
Note: See TracChangeset for help on using the changeset viewer.