|
|
@ -271,17 +271,6 @@ public class XWCardLayout extends XLayoutContainer { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 得到属性名 |
|
|
|
|
|
|
|
* @return 属性名 |
|
|
|
|
|
|
|
* @throws IntrospectionException |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public CRPropertyDescriptor[] supportedDescriptor() throws IntrospectionException { |
|
|
|
|
|
|
|
CRPropertyDescriptor[] crp = ((WCardLayout) data).isCarousel() ? getisCarousel() : getisnotCarousel(); |
|
|
|
|
|
|
|
return ArrayUtils.addAll(getDefaultDescriptor(), crp); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CRPropertyDescriptor[] getisCarousel() throws IntrospectionException { |
|
|
|
public CRPropertyDescriptor[] getisCarousel() throws IntrospectionException { |
|
|
|
return new CRPropertyDescriptor[] { |
|
|
|
return new CRPropertyDescriptor[] { |
|
|
|
new CRPropertyDescriptor("carousel", this.data.getClass()) |
|
|
|
new CRPropertyDescriptor("carousel", this.data.getClass()) |
|
|
|